Chapter 5
Understand the tools of structured analysis(DFD)
System Analysis Design
Learning Goals
In this module we will learn
Flow-Oriented Modeling
Why DFD?
The Flow Model
Every computer-based system is an
information transform ....
computer
based
system
input
output
WHAT ARE DATA FLOW DIAGRAMS?
Data Flow Diagrams
Flow Modeling Notation
External Entity
Process
Data flow
Data store
External Entity
A producer or consumer of data
Examples: a person, a device, a sensor
Another example: computer-based system
Data must always originate somewhere and must always be sent to something
Example: External Entity
Process
A data transformer (changes input
to output)
Examples: compute taxes, determine area, format report, display graph
Data must always be processed in some
way to achieve system function
Example: Process
Data Flow
Data flows through a system, beginning
as input and transformed into output.
compute
triangle
area
base
height
area
Data Stores
Data is often stored for later use.
look-up
sensor
data
sensor #
report required
sensor #, type,
location, age
sensor data
sensor number
type,
location, age
DFD Notation
DFD Rules and Tips
Cont…
-external entity to process
-process to external entity
-process to store and back
-process to process
-external entity to external entity
-external entity to store
-store to external entity
-store to store
Good style in drawing DFD
DFD levels and layers:
From context diagrams to pseudocode
DFD 0
DFD 0
DFD 0
DFD-1
DFD-1
DFD-2
DFD-2
DFD 3, 4
Leveling Rules
DFD levels and layers
Example: Billing System
Example: Billing System(Cont…)
Example: Billing System(Cont…)
Illegal Constructs In DFD
Illegal Constructs In DFD
Not correct as loop is formed
Logical DFD vs. Physical DFD
Physical DFD for Cheque Encashment
Logical DFD for Cheque Encashment