Match each UML diagram in List I to its appropriate description in List II.…

2018

Match each UML diagram in List I to its appropriate description in List II.

\(\begin{array}{clcl} & \textbf{List I} && \textbf{List II} \\ \text{(a)} & \text{State} & \text{(i)} & \text{Describes how the external entities (people, devices) can}\\& \text{Diagram}&& \text{interect with the System} \\ \text{(b)} & \text{Use Case} & \text{(ii)} & \text{Used to describe the static or structural view of a system}\\& \text{Diagram}&& \text{} \\ \text{(c)} & \text{Class} & \text{(iii)} & \text{Used to show the flow of a business process, the steps}\\& \text{Diagram}&& \text{of a use-case or the logic of an object behaviour} \\ \text{(d)} & \text{Activity} & \text{(iv)} & \text{Used to describe the dynamic behaviour of objects and}\\& \text{Diagram}&& \text{could also be used to describe the entire system behaviour} \\ \end{array}\)

\(Code:\)

  1. A.

    \((a)-(i); (b)-(iv); (c)-(ii); (d)-(iii) \)

  2. B.

    \((a)-(iv); (b)-(ii); (c)-(i); (d)-(iii) \)

  3. C.

    \((a)-(i); (b)-(iv); (c)-(iii); (d)-(ii) \)

  4. D.

    \((a)-(iv); (b)-(i); (c)-(ii); (d)-(iii)\)

Attempted by 69 students.

Show answer & explanation

Correct answer: D

Correct matching and concise explanations:

  • State Diagram → Used to describe the dynamic behaviour of objects and can describe the entire system behaviour. State diagrams show states and transitions triggered by events, so they match the description about dynamic behaviour.

  • Use Case Diagram → Describes how external entities (people, devices) interact with the system. Use case diagrams model actors and their interactions with system-level functionality.

  • Class Diagram → Used to describe the static or structural view of a system. Class diagrams show classes, attributes, operations, and relationships, representing the system's structure.

  • Activity Diagram → Used to show the flow of a business process, the steps of a use case, or the logic of an object's behaviour. Activity diagrams represent workflows and control flow between actions.

Therefore the correct mapping is: (a) State Diagram → dynamic behaviour; (b) Use Case Diagram → external entity interactions; (c) Class Diagram → static/structural view; (d) Activity Diagram → process/flow of steps.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor