You are on page 1of 20

SYSTEM ANALYSIS

AND DESIGN
CCS 2106
DESIGN DIAGRAMS

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Drawing Activity Diagram’

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Objectives’
 Definition
Purpose
Components
Drawing Diagram

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Defn’
 It’s a diagram that visually presents a series of actions or
flow of control in a system.
Its like a flowchart that represent the flow from one activity
to another activity.

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Purpose’
Draw the activity flow of a system.
Describe the sequence from one activity to another.
Describe the parallel, branched and concurrent flow of the
system

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Components’
1. Start/Initial State
2. Activity/action State
3. Action Flow
4. Decision Node/Guard Node
5. Fork Node
6. Join Node
7. Swim Lane
8. End/Final State

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Components’
 Initial State/start point
Represents the initial action state for any activity diagram
A small filled circle followed by an arrow
Every activity diagram begins with this.

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Components’
Activity or Action State

represents the task to be performed

Action Flow
show the transition from one activity state

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Components’
Decision node/guard node and Branching
Used to make a decision before deciding the flow of control

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Cont’
 Fork Node
Split behavior into a set of parallel or concurrent flows of
activities.

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Cont’
 Join Node

Bring back together a set of parallel or concurrent flows of


activities

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Cont’
Swimlanes
 Used for grouping related activities in one column. They group
related activities into one column or one row
We use a rectangular column to represent a swimlane

Final State or End State


Signifies end of an activity/process
We use a filled circle within a circle

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Drawing Activity Diagram’
Steps

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Activity Diagram’
 Step 1: Consider the operation of withdrawing from an
ATM.
We first need to identify the swimlanes needed
Customer
ATM
Bank

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Cont’
 Step 2: When a customer inserts an ATM card the Atm
validates the card. If its valid, it requests the user to enter the
PIN, if invalid, it rejects the card and ejects it and ends.

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Cont’
 Once the user enters the Pin, its validated by the bank.if the
pin is correct, the user is asked to enter amount. If attempts
are below three the user keeps on being asked to enter the
pin.Once the attempts reach three the card gets blocked.

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Cont’
 Once the user enters amount, the amount is checked against
the available balance. If the amount is less than the balance,
the amount is dispensed to the user and account balance
reduced. The card is ejected and receipt dispensed too.

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Cont’
 If the funds available are insufficient, the card is ejected and
insufficient receipt printed.

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


Complete’
 Full Diagram.

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY


END’

BY KAGIRI-DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY

You might also like