Multiple choice technology architecture

Which of the following statements are true?

  1. State diagrams are good at describing the behavior of an object across several use cases.

  2. To describe behavior that involves a number of objects in a use case, use interaction diagrams

  3. To describe behavior that involves a number of objects in several use cases, use activity diagrams

  4. All of the above

  5. None of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Each UML diagram type serves a specific purpose: State diagrams excel at tracking individual object behavior across use cases (A), Interaction diagrams (sequence/collaboration) show message flow between multiple objects within a single use case (B), and Activity diagrams model processes involving multiple objects across multiple use cases (C). All three statements accurately describe appropriate uses of these diagram types.