Match each UML diagram in List-I with the appropriate description in List-II:
List-I
(a) State Diagram
(b) Use-Case Diagram
(c) Class Diagram
(d) Activity Diagram
List-II
(i) Describes how the external entities (people, devices) can interact with the system
(ii) Used to describe the static or structural view of a system
(iii) Used to show the flow of a business process, the steps of a use-case or the logic of an object behaviour
(iv) Used to describe the dynamic behaviour of objects and could also be used to describe the entire system behaviour
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. (a)-(iv), (b)-(i), (c)-(ii), (d)-(iii)
Explanation
The correct matching is (a)-(iv), (b)-(i), (c)-(ii), (d)-(iii). A state diagram is a behavioural diagram that tracks how an object changes state in response to events, so it describes dynamic behaviour (iv). A use-case diagram shows actors, that is external people or devices, and how they interact with the system (i). A class diagram is the classic structural diagram showing classes, attributes and relationships, i.e. the static view (ii). An activity diagram models the step-by-step flow of a business process or of the logic inside a use case (iii). Only option (3) assigns all four correctly.More Programming Languages and Computer Graphics questions
- Coupling is a measure of the strength of the interconnections between software modules. Which of the following are correct statements with…
- A software design pattern often used to restrict access to an object is:
- Consider the following statements regarding software architecture: S1: Coupling is a measure of how well the things grouped together in a m…
- A software design pattern used to enhance the functionality of an object at run-time is:
- Module design is used to maximize cohesion and minimize coupling. Which of the following is the key to implement this rule?
- The design concept 'Refinement' is a: