and States • Create a activity diagram when a use-case requires a graphical representation of the flow of interaction. • Create a state diagram when a use-case requires a list of the different states of a system. * they are not mandatory and they can be combined.
Diagram • A graphical representation of the flow of activities 1. Sequence 2. Conditions and Loops 3. Parallel or Concurrent 4. Actor (if there are multiple actors involved in a specific use-case) responsibility for the action described
elements • rounded rectangles represent actions; • diamonds represent decisions; • bars represent the start (split) or end (join) of concurrent activities; • a black circle represents the start (initial node) of the workflow; • an encircled black circle represents the end (final node). • Arrows run from the start towards the end and represent the order in which activities happen. • Swim lane or functional band helps to visually distinguishes job sharing and responsibilities
Diagram State machine models show • states (as nodes) – a set of observable circumstances that characterizes the behavior of a system at a given time • Event (arc between nodes) —an occurrence that causes the system to exhibit some predictable form of behavior When an event occurs, the system moves from one state to another.
• Review the Monopoly Requirements Specification • Review the Pac-Man Requirements Specification • Review the Course Registration System Specification * Documents available on Blackboard.