You are on page 1of 1

SOEN 6481 Software Systems Requirements Specification (Winter 2015/16)

Worksheet #7: UML Sequence and Activity Diagrams


In requirements engineering, UML sequence and activity diagrams can enhance the textual use case description
with a graphical, semi-formal model. In this exercise, we will derive each diagram type from a (simple) use
case, the Dice Game:

Basic Flow:

1. Player indicates to the system that s/he wishes to start a new game. [Trigger]
2. System indicates that the player can take a turn.
3. Player indicates that s/he wishes to take a turn.
4. System simulates rolling a die and displays the face value.
5. Steps 3 and 4 are repeated once
6. System calculates the total and displays a congratulations message.

Extension:
6a. If the total is not 7, system displays a losing message.

Exercise 1: Create a UML System Sequence Dia- Exercise 2: Create a UML Activity Diagram.
gram (SSD). Draw the diagram below, main success Draw the diagram below, including basic flow and
scenario only: extensions, using swimlanes:

You might also like