Which of the following UML diagrams has a static view?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. Use-Case diagram
Explanation
UML diagrams split into structural (static) and behavioural (dynamic) views. The use-case diagram gives the static use-case view of a system: it shows actors, use cases and the relationships between them, with no ordering in time and no notion of state, so it is classified as static. The other three are all dynamic. A collaboration (communication) diagram shows the sequence of messages exchanged between objects, a state chart diagram shows how an object's state changes in response to events, and an activity diagram shows the flow of control through activities over time. Hence option 2.More Programming Languages and Computer Graphics questions
- Which of the following statements is/are TRUE? P: In software engineering, defects that are discovered earlier are more expensive to fix. Q…
- Software coupling involves dependencies among pieces of software called modules. Which of the following are correct statements with respect…
- 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 Diagr…
- 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…