Homework #2 - San Jose State University

advertisement
San Jose State University - Computer Engineering Department
Course: CMPE131 - Software Engineering
Instructor: Jerry Gao, Ph.D.
Homework #2
Semester: spring, 2005
Date: 3/03/05
1.
Due date: 3/17/05
ERD-based modeling (40%)
(a) (30%) Use the ERD model to perform data modeling and analysis on the following data objects and
relationships in a university library system:
 Student User
 Faculty User
 Librarian
 Library Staff
 Book
 Account
 System Administrator
Please list the basic data attributes for each class object, and present an ERD based on the following requirements.
 The library system must support: system administration users, student users, faculty users, library staff, and
librarians.
 Student users can check-out/check-in only one book at once.
 Faculty users can check-out/check-in one or more books at once.
 All users have a library account.
 Library staff must check each user’s account.
 System administrators can create/delete/update user accounts.
Please draw an ERD to present these user objects and their relationships.
2.
System partition (40%)
(a) (20%) Develop an architecture context diagram (ACD) or architecture flow diagram (AFDs) for your class-term
project to present your elevator simulation system.
(b) (20%) Perform the detailed functional partitions and draw a tree diagram to represent your partition results to
present your elevator simulation system in terms of sub-systems and function modules.
3.
Dataflow-based Modeling (30%)
a. (10%) DFD-Level 0 Modeling for your elevator simulation system
Please note that DFD at the level 0 focuses on the dataflow modeling of your system and its external entities.
b. (15%) DFD-Level 1 Modeling for your elevator simulation system at the subsystem level
Note that DFD modeling at the level 1 focus on the dataflow modeling of your system based on its subsystems and
the information flows among them.
c. (10%) DFD-Level 2 Modeling for one of your subsystems.
Note that DFD at the level 2 focuses on the dataflow modeling of one of your subsystems based on its components
and the information flows among them.
Download