Professional Documents
Culture Documents
Sad - 07 Drawing DFD Supp
Sad - 07 Drawing DFD Supp
(DFD)
Review
Learning Objective
This collection of slides will review the
technique of drawing data flow diagrams.
Page 1
Page 2
systems analysts
end users
data base designers
system programmers
other members of the project team
Page 3
Page 4
Page 5
Data store
External
Entity
Data flow
Page 6
Page 7
Page 8
DFD Example 1
The Broadway Entertainment Company
An important first step to consider is to look at the key
processes under study. These can be itemized into a
hierarchical series, where the highest level (level 0)
describes a general department, or business unit, to the
lowest level. The lowest level is a point where you cannot
break a process into any more divisible components.
These are referred to as functional primitives.
Page 9
Page 10
Context Diagram
Process labeled 0
Level 0 Processes labeled 1.0, 2.0, 3.0, .
Level 1 Processes labeled 1.1, 1.2, 1.3, .
Level 2 Processes labeled 1.11, 1.12,...
Page 11
B r o a d w a y E n t e r t a in m e n t S y s t e m
In -S to re S y s te m
0
M e m b e r s h ip
1
R e n ta l
2
S a le s
3
In v e n to ry
4
E m p lo y e e
5
Page 12
Level 1: Membership
M e m b e r s h ip
1
E n ro l
1 .1
Is s u e N e w C a rd
1 .2
R e in s t a t e
1 .3
T r a n s ie n t
1 .4
Page 13
Level 1: Rental
(note this is the primitive level for this series of processes)
R e n ta l
2
R ent
2 .1
R e tu rn
2 .2
R e p o rts
2 .3
Page 14
Level 1: Sales
S a le s
3
P r o c e s s S a le s
3 .1
P ro c e s s R e tu rn s
3 .2
Page 15
Level 1: Inventory
In v e n to ry
4
O rd e r
4 .1
R e c e ip t
4 .2
R e je c t
4 .3
T r a n s fe r
4 .4
Page 16
Level 1: Employee
E m p lo y e e
5
T im e R e p o r t in g
5 .1
A d d / D e le t e
5 .2
Page 17
Level 2: Membership
M e m b e r s h ip
1
E n ro l
1 .1
In p u t M e m b e r D a ta
1 .1 .1
A s s ig n M e m b e r N u m b e r
1 .1 .2
U p d a t e M e m b e r F ile
1 .1 .3
Is s u e N e w C a rd
1 .2
In p u t M e m b e r N u m b e r
1 .2 .1
P r in t C a r d
1 .2 .2
R e in s ta t e
1 .3
In p u t M e m b e r N u m b e r
1 .3 .1
U p d a t e M e m b e r F ile
1 .3 .2
T r a n s ie n t
1 .4
In p u t M e m b e r N u m b e r
1 .4 .1
U p d a t e T r a n s ie n t R e n t a l F ile
1 .4 .2
Page 18
Level 2: Sales
S a le s
3
P r o c e s s S a le s
3 .1
In p u t M e m b e r N u m b e r
3 .1 .1
In p u t Ite m D a ta
3 .1 .2
U p d a t e S a le s F ile
3 .1 .3
P r in t R e c e ip t
3 .1 .4
P ro c e s s R e tu rn s
3 .2
In p u t Ite m D a ta
3 .2 .1
U p d a t e S a le s F ile
3 .2 .2
P r in t R e c e ip t
3 .2 .3
Page 19
Level 2: Inventory
In v e n to ry
4
O rd e r
4 .1
Is s u e P u rc h a s e O rd e r
4 .1 .1
4 .1 .2
R e c e ip t
4 .2
In p u t Ite m D a ta
4 .2 .1
U p d a t e I n v e n t o r y F ile
4 .2 .2
U p d a t e R e c e ip t s F ile
4 .2 .3
R e je c t
4 .3
In p u t O rd e r Ite m
4 .3 .1
U p d a t e R e je c t io n R e p o r t F ile
4 .3 .2
T r a n s fe r
4 .4
In p u t Ite m N u m b e r
4 .4 .1
U p d a t e I n v e n t o r y F ile s
4 .4 .2
Page 20
Level 2: Employee
E m p lo y e e
5
T im e R e p o r t in g
5 .1
I n p u t E m p lo y e e N u m b e r
5 .1 .1
I n p u t T im e S h e e t D a t a
5 .1 .2
A d d / D e le t e
5 .2
Add
5 .2 .1
In p u t E m p lo y e e D a ta
5 .2 .2
A s s ig n E m p lo y e e N u m b e r
5 .2 .3
U p d a t e E m p lo y e e F ile
5 .2 .4
D e le t e
5 .3
I n p u t E m p lo y e e N u m b e r
5 .3 .1
U p d a t e E m p lo y e e F ile
5 .3 .2
Page 21
Page 22
Page 23
Building a DFD
We tend to start at the context level, break
processes down to Level 0, and then start to
consider where data enters and exits our
information system, where it is stored, and
how a process converts it from one form to
another. We are interested here in the
movement of data and its conversion.
Page 24
Building a DFD
Note that a DFD is NOT time-sensitive, and
that it is NOT a flowchart. It simply shows
how and where data itself progresses
through our system.
There are other ways to add information to a
chart, such as what departments are
responsible for certain activities, or which is
batch, realtime, etc.
Data Flow Diagramming
Page 25
Page 26
Page 27
Context Level
(note there are no storage elements at this level)
Page 28
Level 0
Page 29
Page 30
Page 31
Epilogue
The Broadway Entertainment Company
DFD was created with the IBM Case tool
Rationale Rose
Page 32