Professional Documents
Culture Documents
Name:
Matriculation Number:
Tutorial Group:
Part I
Verify the correctness of the following interpretations for the segment of class diagram shown in
Figure 1 and state your answer in the form “Correct” or “Incorrect”:
6 If r and s are two instances in R1, r and s may associate the same A1 object to two different A2
objects.
8 If r and s are two instances in R2, r and s may associate the same B1 object with two different
B2 objects.
(30 Marks)
1
A1 A2
1 R1 1
B1 1..2, 6..8
B2
R2 *
R3
* C2
C1 0..1
R4
D1 D2
1 1..*
1
-
*
F1 E1 E2
G2
*
1
G1 R5
G3
2..*
2
PART 2
(1) Identify a suitable process model for developing software under each of the following
situations:
iii) A large system with well-defined requirements and insufficient manpower to develop.
v) A small system that requires intensive user interaction and the users are not sure about the
exact requirements.
(12 marks)
(2) At a particular point in time, the set of Supplier and Part instances are {s1, s2, s3} and {p1, p2,
p3, p4} respectively. Give two possible sets of instances of the following association between
Supplier and Part:
R
Supplier 1 1..* Part
(12 marks)
(3) Identity the most suitable concept from the four basic concepts, process, external entity, data
flow and data store, in Data Flow Diagramming (DFD) technique to model each following fact
separately:
v) Annual income reported by tax payer -- a type of users in the system -- for computing
tax.
3
(12 marks)
(4) Identify the most suitable basic concept from the seven concepts, class, operation, association,
aggregation, generalization, object and instance of association, in Object-Oriented modelling to
represent each of the following:
Nissan Car.
Mechanic services Car.
Dr CK Ang treats his patient Mary Yong.
Compute interest.
Engine is part of car.
NTU students are classified into undergraduate and postgraduate students
(12 marks)
4
(6) In a trading company, customers place their orders directly. They can also cancel orders
themselves or via through a staff in the sales department. Orders are processed periodically by a
staff in the sales department. All the delivered orders are billed by an account clerk in the
account department. Some bills could be submitted electronically to banks depending on the
prior arrangement made. Draw a use-case diagram to give an overview of the requirements
described. (12 Marks)