Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which UML diagram shows the interaction between objects over time ?

  • A.Class diagram
  • B.Use case diagram
  • C.Sequence diagram
  • D.Activity diagram

Answer: C

The diagram is the sequence diagram.

A UML sequence diagram puts the participating objects across the top, each with a vertical lifeline, and shows the messages between them as arrows in time order from top to bottom. It is the diagram used to show how objects interact over time in a scenario.

A class diagram shows static structure: classes, attributes and relationships. A use case diagram shows actors and the system's functions. An activity diagram shows the flow of activities and decisions, like a flowchart, rather than messages between objects.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.