Lab 2 DFD - Part2
Lab 2 DFD - Part2
process
data flow
FIGURE 7-1
Systems development life cycle with the
analysis phase highlighted
No process can
have only output or
only input.
A process must
have both output
and input.
Process labels
should be verb
phrases.
Bidirectional flow
between process
and data store is
represented by two
separate arrows.
Decomposition of DFDs
• Functional decomposition is an iterative process of
breaking a system description down into finer and finer
detail.
Creates a set of charts in which one process on a given chart is explained
in greater detail on another chart.
Continues until no sub process can logically be broken down any further.
• Primitive DFD is the lowest level of a DFD.
• Level-1 diagram results from decomposition of Level-0
diagram.
• Level-n diagram is a DFD diagram that is the result of n
nested decompositions from a process on a level-0
diagram.
FIGURE 7-8
Level-1 diagram showing the
decomposition of Process 4.0 from the
level-0 diagram for Hoosier Burger’s food-
ordering system
FIGURE 7-9: Level-2 diagram showing the decomposition of Process 4.3 from the
level-1 diagram for Process 4.0 for Hoosier Burger’s food-ordering system
Balancing DFDs
• Conservation Principle: conserve inputs and outputs
to a process at the next level of decomposition
• Balancing: conservation of inputs and outputs to a
data flow diagram process when that process is
decomposed to a lower level
• Balanced means:
– Number of inputs to lower level DFD equals number of
inputs to associated process of higher-level DFD
– Number of outputs to lower level DFD equals number of
outputs to associated process of higher-level DFD