推 pojan:速度真快XD 140.112.239.62 06/22
課程名稱︰資訊系統原理
課程性質︰系定必修
課程教師︰林風
開課系所︰資訊系
考試時間︰94/06/22 6:30pm - 9:30pm
試題 :
Information System Final Examination
Time: 2005/6/22 Wd. 6:30pm-9:30pm; Total Grades: 100Points
Instructor: Phone Lin
(1)(20%) For each of the five diagrams (defined in UML to describe the system
dynamic aspects),(a)Use Case Diagram; (b)Sequence Diagram; (c)Collaboration
Diagram; (d)Statechart Diagram; (e)Activity Diagram, depict a figure to briefly
describe the usage of each diagram.
(2)(4%) When modeling a simple monolith application (that runs on a single
machine), for each of 4+1 views in UML, what diagrams you should focus on? (b)
When modeling a complex distributed system, for each of 4+1 views in UML, what
diagrams you should focus on?
(3)(12%) Consider the following incomplete class diagram. In this diagram, we
design a school information system. There are six classes declared in the
diagram: School, Student, Department, Chairman, Course, and Instructor. Please
add the relationship between two classes in the diagram following the spec
(S1-S6) of this system, and add notes on the relationship to describe why you
use this kind of relationship between two classes.
Note that the sentences with bold face in the specs must be addressed in your
answer.
S1. A School has one or more Students.
S2. Department is the type of one attribute in School.
S3. A Chairman is a kind of Instructor, who leads the Department.
S4. There is more than one Instructor in a Department.
S5. Department has one or more Courses. As the Department is closed, the
Courses are closed.
S6. A Student has one or more Courses.
------------------------ -------------- --------------
| School | | Department | | Chairman |
------------------------ -------------- --------------
|department: Department| -------------- | name: Name |
------------------------ --------------
------------------------ | teaching() |
--------------
--------- -------- -------------
|Student| |Course| |Instructor |
--------- -------- -------------
--------- -------- |name:Name |
-------------
|teaching() |
-------------
(4)(4%) Please explain the two terms, "Forward Engineering" and "reverse
Engineering".
(5)(12%) (a)Please briefly to describe the usages of three levels of
visibility, that is, "Public", "Private", and "Protected" defined in UML.
(b) Please elaborate an example to describe the usage of "Class Scope" and
"Instance Scope". (c)Please describe the definition for "Abstract Class".
(6)(20%) For each of the following stereotypes: <<access>>, <<import>>
<<extend>>, and<<include>> defined for the "Dependency" relationship, depict a
diagram to briefly illustrate their usages.
(7)(4%) (a)Depict an example (that is a class diagram) to illustrate the usage
of the "Qualifier" defined in the Association relationship. (b)Use a class
diagram to illustrate the usage of the two visibilities, "+" and "-", appended
with the role names on an advanced Association.
(8)(4%) Describe the definitions of "Use Case" and "Collaboration" defined in
UML.
(9)(20%) Given the following problem statements, depict a Use Case diagram
that satisfies these statements.
(S1) You are asked to design a "Student Registration System".
(S2) The new system will allow students to access the system, to register
for courses and view report cards from personal computer attached to
the campus LAN.
(S3) Professors will be able to access the system to sign up to teach
courses as will as record grades.
(S4) Due to a decrease in federal funding, the college cannot afford to
replace the entire system at once. The college will keep the existing
course catalog database where all course information is maintained.
The performance of the database is rather poor, so the new system must
insure that access to the data on the legacy system occurs in a timely
manner. The new system will access course information from the database
but will not update it.
(S5) The register's office will continue to maintain course information
through another system.
(S6) Once the registration process is completed fo a student, the
registraction sends information to the billing system so the student
can be billed for the semester.
(S7) Since student grades are sensitive information, the system must
employ extra security measures to prevent unauthorized access.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.30.82