OMG-OCUP2-ADV300 practice question 3 of 10

What must a modeler do to use an Action that coordinates other Actions?

Full set: 90 questions
Answer options
A: extend Behavior and add the desired Actions
B: use one of the StructuredActivityNodes in UML Correct answer
C: use the standard Action and add desired tag values
D: extend Action and specify the constraints to be relaxed or removed
Correct Answer:
B. use one of the StructuredActivityNodes in UML
Explanation

In UML 2.5.1, StructuredActivityNode is an abstract class that specializes both Action and ActivityGroup. It serves as an executable activity node that acts as a container for coordinating and structuring a set of subordinate actions and control nodes. UML provides several concrete subclasses of StructuredActivityNode—such as SequenceNode, ConditionalNode, LoopNode, and ExpansionRegion—specifically designed to manage and coordinate control flow and data flow among child actions. Therefore, to model an action that directly coordinates other actions within an activity diagram, a modeler uses one of these predefined standard StructuredActivityNode constructs in UML without needing to extend the metamodel.

Why Incorrect

A: Extending Behavior defines executable logic definitions, but does not provide the action-level coordination structure contained directly within an activity node. C: Tag values from profiles customize metadata but do not alter executable control semantics to coordinate multiple standard actions. D: Extending Action and removing constraints requires metamodel heavyweight extension, which is unnecessary since standard StructuredActivityNodes provide this behavior natively.

References

1. Object Management Group. (2017). OMG Unified Modeling Language (OMG UML), Version 2.5.1, Section 16.11 (Structured Activity Nodes), pp. 475-478. https://www.omg.org/spec/UML/2.5.1/PDF

2. Bock, C. (2003). UML 2 Activity Diagram Essentials. Journal of Object Technology, 2(5), 43-51. https://doi.org/10.5381/jot.2003.2.5.a3

Scroll to Top