Uml Objective
Uml Objective
Document: E0767Test.fm
10/02/2006
2. Which of the following is iterative, incremental, use case driven and architecture centric?
O (a) V-method
O (b) UML
O (d) RUP
O (c) The stereotype {frozen} indicates that the UML element cannot be changed.
4. Consider a beverage machine. If the actor is ‘customer’, and the scope is ‘machine’, what is
most likely to be found in the main scenario of the use case ‘get drink’?
O (d) - ...
- machine sends price to LCD display
- customer puts in coins
- coin mechanism verifies amount and tells machine controller
- machine controller activates boiler
- ...
Company
* Employee Company
* Employee
A 1..* B 1..*
* *
Team 1
Project 1 Project Team
Company
* Employees * Employee
Company
1..* 1..*
C D
* *
1 1
Projects Team Project Team
O (a) diagram A
O (b) diagram B
O (c) diagram C
O (d) diagram D
A B
0..* 0..*
Person Pet Person Animal
animal keeps as pet
C D
O (a) diagram A
O (b) diagram B
O (c) diagram C
O (d) diagram D
How would the introduction of a subtotal() method in OrderLine improve the design?
ON
H Idle
play
rew
stop
stop
Rewinding Playing
a22
a44 a66
[x<=5]
a77 H
[2 answers]
Component
*
Client
operation()
Leaf Composite
operation() operation()
O (a) Component
O (b) Delegation
O (c) Polymorphism
O (d) Composite
14. If you need to show the physical relationship between software components and the hardware
in the delivered system, which diagram can you use?
A B C
O (a) If package C changes, package B must be inspected for necessary changes, and if there
are any, package A may have to be adapted as well.
O (b) If package B changes, package A and package C must be inspected for necessary
changes.
O (c) Packages should be designed so that a change in one package does not have an effect
to other packages.
O (d) If package C changes, package A has to be examined (as well as B), because depend-
encies are transitive.
xfer(m:Money, a2)
check()
evaluation
[OK] minus(m)
plus(m)
O (a) xfer()
<<interface>>
Thing1
doIt()
Thing2 Thing3
Thing4 Thing5
O (a) The method doIt() must be implemented by Thing3 and possibly also by Thing4.
O (c) The method doIt() must be implemented by Thing2, Thing3, Thing4 and Thing5.
19. Which GRASP pattern do you use to decide who is going to handle the incoming system
events?
O (a) Controller
O (c) Adapter
20. Which diagram is NOT commonly used for illustrating use cases?