Behavioral Models
Reading
Sommerville, Chapter 5, Sections 5.4
Objectives
- Understand how Data Flow Diagrams and UML Activity Diagrams can be used to specify the data flow of a software product.
- Create a UML State Diagram to model the event-driven behavior of a software system.
Notes
Read using the following as a guide:
- Understand how Data Flow Diagrams and UML Activity Diagrams can be used to
specify the data flow of a software product.
- Describe the purpose and components of a Data Flow Diagram and related them to a corresponding UML Activity Diagram.
- Create a UML State Diagram to model the event-driven behavior of a software
system.
- Describe the concepts of State and Transition within the context of a UML State Diagram.
Resources
Activity Diagrams
Examples
- “The Lion Sleeps Tonight”
- Online Shopping (courtesy uml-diagrams.org)
- Resolve Software Issue (courtesy uml-diagrams.org)
- Ticket Vending Machine (courtesy uml-diagrams.org)
State Machine Diagrams
Examples
- Water Phases (courtesy uml-diagrams.org)
- Online Shopping (courtesy uml-diagrams.org)
- Thread Life Cycle (courtesy uml-diagrams.org)