DFD Edit
DFD Edit
DFD Edit
DFD Symbols
Four basic symbols
Gane & Sarson
used in text
Yourdon also popular
Keep in mind:
◦ All flow lines must be
labeled
◦ Large processes can
be broken down into
smaller components
Step 1: Draw
a Context
Diagram
Step 2: Draw a
Diagram DFD level
1
◦ If same data flows
in both directions,
you can use a
double-headed
arrow
◦ Diagram 0 is an
exploded view of
process 0
◦ Parent diagram
◦ Child diagram
◦ Functional
primitive
Step 3: Draw
the Lower
Level
Diagrams
The order system diagram 0 is shown at the top of the figure, and exploded diagram 3
DFD (for the APPLY PAYMENT process) is shown at the bottom. The two DFDs are
balanced because the child diagram at the bottom has the same input and output flows as
the parent process 3 shown at the top
CREATING A SET OF DFDS (C ONT.)
Documenting the
Processes
◦ Process name or label
◦ Description
◦ Process number
◦ Process description
Documenting the
Entities
◦ Entity name
◦ Description
◦ Alternate name(s)
◦ Input data flows
◦ Output data flows
Documenting the
Records
Record or data
structure name
Definition or
description
Alternate name(s)
Attributes
Modular Design
◦ Based on combinations
of three logical Sequence structure
structures, sometimes
called control
structures, which serve
as building blocks for
the process
Sequence Selection
structure
Selection structure
Iteration structure -
looping
Iteration structure
PROCESS DESCRIPTION TOOLS
Structured English
Must conform to the following rules
Use only the three building blocks of sequence, selection,
and iteration
Use indentation for readability
Structured English
Might look familiar to programming students
because it resembles pseudocode
PROCESS DESCRIPTION TOOLS (C ONT.)
Decision Tables
Shows a logical structure, with all possible combinations
of conditions and resulting actions
It is important to consider every possible outcome to
ensure that you have overlooked nothing
The number of rules doubles each time you add a
condition
Can have more than two possible outcomes
Often are the best way to describe a complex set of
conditions
LOGICAL VERSUS PHYSICAL MODELS
Sequence of Models
Many systems analysts create a physical model of
the current system and then develop a logical model
of the current system before tackling a logical model
of the new system
Performing that extra step allows them to
understand the current system better
LOGICAL VERSUS PHYSICAL MODELS (CONT.)
Four-Model Approach
Develop
A physical model of the current system
A logical model of the current system