volume_mute

Activity Diagrams vs. Sequence Diagrams for Data Processing

publish date2026/06/08 10:49:39.302221 UTC

volume_mute

Both activity diagrams and sequence diagrams can be used to model data processing in a system. What is the key difference in what each emphasizes?

Correct Answer

Activity diagrams highlight the operations or activities; sequence diagrams highlight the objects in a system

Explanation

Both can model data processing, but they emphasize different things. Activity diagrams (data-flow models) highlight the operations or activities and the data flowing between them. Sequence diagrams highlight the objects in a system and the messages passed between those objects. In practice, non-experts find data-flow diagrams more intuitive, while engineers tend to prefer sequence diagrams.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears