OMG
OMG-OCUP2-ADV300
Q1:
Choose the correct answer:
Consider the following diagram:

When this behavior is executed, which event will occur last?
○
A
finalizing HH○
B
reception of z○
C
reception of w○
D
We cannot determine the last event from this diagram alone.
OMG
OMG-OCUP2-ADV300
Q2:
Choose the correct answer:
What must a modeler do to use an Action that coordinates other Actions?
○
A
extend Behavior and add the desired Actions○
B
use one of the StructuredActivityNodes in UML○
C
use the standard Action and add desired tag values○
D
extend Action and specify the constraints to be relaxed or removed
OMG
OMG-OCUP2-ADV300
Q3:
Choose the correct answer:
What happens with a transmitted object of a send Action during transmission?
○
A
Only the selected content of the transmitted object Is sent to the receiver.○
B
The transmitted object may be copied and the object identity may be changed.○
C
The transmitted object may be copied and the transmission preserves the object identity.○
D
The transmitted object at the sender is exactly the same as the one that arrives at the receiver.
OMG
OMG-OCUP2-ADV300
Q4:
Choose the correct answer:
Consider the following diagram fragment:

What is the value of "Counter" before the SomeActivity Action is executed?
○
A
0○
B
42○
C
It is empty.○
D
the Set containing the Literal Specification 42
OMG
OMG-OCUP2-ADV300
Q5:
Choose the correct answer:
Consider the following diagram fragment:

What is "QueryCustomerFromParcel"?
○
A
A SQL query○
B
An OCL expression.○
C
An Action with a reference to a transformation behavior.○
D
A Behavior element, for example, an Activity. State Machine, or OpaqueBehavior.