OMG-OCUP2-ADV300 practice question 7 of 10

What happens with a transmitted object of a send Action during transmission?

Full set: 90 questions
Answer options
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. Correct answer
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.
Correct Answer:
B. The transmitted object may be copied and the object identity may be changed.
Explanation

In the OMG Unified Modeling Language (UML) specification, when an object is transmitted as part of a send action or message passing, the transmission mechanism may copy the object, and as a consequence, the object identity may be changed. UML models execution semantics allowing both pass-by-reference and pass-by-value semantics depending on the target implementation environment. When an object is transmitted by value or across process boundaries, a replica is created at the target node, resulting in a distinct object identity from the original sender's object. Thus, transmission does not guarantee the retention of the original object identity, nor does it guarantee that the object remains identical in physical identity at the receiver.

Why Incorrect

A: UML transmission sends the complete state or reference required by the action, not strictly a selected subset unless explicitly specified by transformation logic. C: Transmission does not guarantee that object identity is preserved, as copying an object across boundaries can create a distinct new object identity. D: Sender and receiver objects are not guaranteed to be identical, because distributed or value-based transmissions generate independent object instances.

References

1. Object Management Group. (2017). OMG Unified Modeling Language (OMG UML), Version 2.5.1, Section 16.3 (Actions Semantics), p. 443. https://www.omg.org/spec/UML/2.5.1/PDF

2. Object Management Group. (2017). OMG OCUP 2 Advanced Examination Coverage map, Section 3: Actions and Activities. https://www.omg.org/ocup-2/documents/OCUP2AdvancedCoverageMap.pdf

Scroll to Top