OMG-OCSMP-MBI300 practice question 9 of 10

The final version of the diagram must depict that a SoftwareSession is created by some activity of a:User. Which change must be made to the Initial draft diagram to meet this requirement'

Full set: 45 questions
Answer options
A: The arrow '"Start Software" has to be solid and with a closed head.
B: The first activation on the lifeline SoftwareSession has to be removed
C: The arrow "Start Software" has to cud at the tail and not at the head of the lifeline SoftwareSession. Correct answer
D: No change is required.
Correct Answer:
C. The arrow "Start Software" has to cud at the tail and not at the head of the lifeline SoftwareSession.
Explanation

In a UML Sequence Diagram, object creation is depicted by a createMessage. This message is represented by a dashed line with an open arrowhead. Crucially, the arrowhead must point directly to the head (the rectangle) of the lifeline being created. This notation signifies that the message's receipt results in the instantiation of the object represented by that lifeline. Pointing the arrow to the lifeline's "tail" (the vertical dashed line) is notationally incorrect and does not represent creation.

Why Incorrect

A. A solid line with a closed head represents a synchronous message, not a creation message.
B. The activation (execution specification) shows that the object is active; removing it does not correctly model the creation event itself.
D. The question implies a change is needed to meet the requirement, and option C describes the specific, correct notational change for object creation.

References

1. Object Management Group. (2017). OMG Unified Modeling Language (UML), Version 2.5.1. OMG Document Number formal/2017-12-05. Section 17.4.4.1, "Messages," p. 577 states, "A createMessage is shown as a dashed line with an open arrowhead. The createMessage target is the head of the created Lifeline."

2. Fowler, M. (2004). UML Distilled: A Brief Guide to the Standard Object Modeling Language (3rd ed.). Addison-Wesley Professional. Chapter 5, "Sequence Diagrams," discusses object creation, showing the message arrow terminating at the object's box.

Scroll to Top