Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

OMG Exam OMG-OCUP2-FOUND100 Topic 5 Question 26 Discussion

Actual exam question for OMG's OMG-OCUP2-FOUND100 exam
Question #: 26
Topic #: 5
[All OMG-OCUP2-FOUND100 Questions]

Choose the correct answer:

How many class instances can be shown on an Object Diagram?

Show Suggested Answer Hide Answer
Suggested Answer: C

In UML, an initial node is the starting point of an activity thread and represents the start of the flow in an activity diagram.According to the UML 2.5.1 specification, an initial node has no incoming edges and precisely one outgoing edge1. This means that only one activity can feed an initial node at the beginning of an activity thread, which aligns with option C.

The initial node is depicted as a filled circle and is used to show where the control starts within the activity. When the activity is invoked, control tokens are placed on the initial node and can then traverse the outgoing edge to the first action or activity node. The specification clearly states that there should be only one outgoing edge, ensuring that the flow of control is unambiguous at the start of the activity.

For further details and verification, you can refer to the UML 2.5.1 specification, particularly Chapter 15.7, which covers the Activity, ActivityFinalNode, InitialNode, and other related elements2.Additionally, the Object Management Group (OMG) provides resources and guidelines for the UML exams, including the types of questions that may appear and the knowledge areas covered3.

It's important to note that while multiple initial nodes can exist within a single activity diagram, each initial node can only be the source of one outgoing edge, and thus, only one activity can feed each initial node.


Contribute your Thoughts:

Jacob
5 days ago
I'm gonna go with B. I mean, an Object Diagram is all about a single instance of a class, right? Why would you need more than one?
upvoted 0 times
...
Tamra
9 days ago
Hmm, I'm not sure. I think it might be C since object diagrams are used to show specific instances of classes, and the notation 1..* indicates that there can be one or more instances.
upvoted 0 times
...
Ben
13 days ago
I think the answer is D. 0.* seems to be the correct option as an Object Diagram can show any number of class instances, including zero.
upvoted 0 times
...
Asuncion
14 days ago
I'm not sure, but I think the answer is D) 0..* because it allows for zero or more instances.
upvoted 0 times
...
Lenna
19 days ago
I disagree, I believe the answer is B) 1 because it shows exactly one instance.
upvoted 0 times
...
Eileen
20 days ago
I think the answer is C) 1..* because it represents one or more instances.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77