Behavioral Models
Learning Objectives
- Model procedural logic using an activity diagram
- Model event-driven behavior using a state machine diagram
How to Complete this Lesson
Complete the following learning activities: (2.5–2.75 hours total)
- Read the following in Software Engineering and
(optionally) complete the reading guide:
- Chapter 5: System modeling
(15–30 minutes)
- Behavioral models
- Chapter 5: System modeling
(15–30 minutes)
- Read State Machine Diagrams in UML Distilled (15 minutes)
- Attend the class meeting
(60 minutes)
- Complete the handout on state machine diagrams (after class if necessary)
- Work on the design homework (60 minutes)
Resources
Videos
- UML 2 State Machine Diagrams – stop at 7:39 (8 minutes)
State Machine Diagrams
Examples
- Water Phases (courtesy uml-diagrams.org)
- Online Shopping (courtesy uml-diagrams.org)
- Thread Life Cycle (courtesy uml-diagrams.org)