Systems Analysis & Design: Using Data Flow Diagrams
Systems Analysis & Design: Using Data Flow Diagrams
Tenth Edition
Chapter 7
Using Data Flow
Diagrams
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Learning Objectives (1 of 2)
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Learning Objectives (2 of 2)
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Data Flow Diagrams
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Major Topics
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Advantages of the Data Flow
Approach
•Freedom from committing to the technical
implementation too early
•Understanding of the interrelatedness of systems
and subsystems
•Analysis of the proposed system
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Basic Symbols
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.1 The Four Basic Symbols Used in Data
Flow Diagrams, Their Meanings, and Examples
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
External Entities
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Data Flow
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Process
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Data Store
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.2 Steps in Developing Data Flow
Diagrams
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Creating the Context Diagram
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Basic Rules
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.3 Context Diagram
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Drawing Diagram 0
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Drawing Diagram 0 (continued)
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.3 Note Greater Detail in
Diagram 0
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Data Flow Diagram Levels
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Creating Child Diagrams
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Creating Child Diagrams
(continued)
•Entities are usually not shown on the child
diagrams below Diagram 0
•If the parent process has data flow connecting to
a data store, the child diagram may include the
data store as well
•When a process is not exploded, it is called a
primitive process
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.4 Differences between the Parent Diagram
(above) and the Child Diagram (below)
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Data Flow Diagrams Error
Summary
•Forgetting to include a data flow or pointing an
arrow in the wrong direction
•Connecting data stores and external entities
directly to each other
•Incorrectly labeling processes or data flow
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Data Flow Diagrams Error
Summary (continued)
•Including more than nine processes on a data
flow diagram
•Omitting data flow
•Creating unbalanced decomposition (or
explosion) in child diagrams
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.5 Checking the Diagrams
for Errors
•Forgetting to include a data flow or pointing an
arrow in the wrong direction
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
continued Figure 7.5 Checking the
Diagrams for Errors
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
continued Figure 7.5 Typical Errors that
Can Occur in a Data Flow Diagram
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Logical and Physical Data Flow
Diagrams
•Logical
–Focuses on the business and how the business
operates
–Not concerned with how the system will be
constructed
–Describes the business events that take place and
the data required and produced by each event
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Logical and Physical Data Flow
Diagrams
•Physical
–Shows how the system will be implemented
–Depicts the system
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.7 Features Common of Logical and
Physical Data Flow Diagrams
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.8 The Progression of Models from Logical
to Physical
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.9 Logical Data Flow
Diagram Example
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.9 Physical Data Flow
Diagram Example
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Developing Logical Data Flow
Diagrams
•Better communication with users
•More stable systems
•Better understanding of the business by analysts
•Flexibility and maintenance
•Elimination of redundancy and easier creation of
the physical model
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Developing Physical Data Flow
Diagrams
•Clarifying which processes are performed by
humans and which are automated
•Describing processes in more detail
•Sequencing processes that have to be done in a
particular order
•Identifying temporary data stores
•Specifying actual names of files and printouts
•Adding controls to ensure the processes are
done properly
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.10 Physical Data Flow Diagrams Contain
Many Items Not Found in Logical Data Flow
Diagrams
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
CRUD Matrix
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.11 CRUD Matrix
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Event Modeling and Data Flow
Diagrams
•An input flow from an external entity is
sometimes called a trigger because it starts the
activities of a process
•Events cause the system to do something and
act as a trigger to the system
•An approach to creating physical data flow
diagrams is to create a data flow diagram
fragment for each unique system event
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Event Response Tables
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.12 An Event Response Table for an
Internet Storefront
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 7.13 Data Flow Diagrams for the First Three Rows
of the Internet Storefront Event Response Table
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Use Cases and Data Flow
Diagrams
•Each use case defines one activity and its
trigger, input, and output
•Allows the analyst to work with users to
understand the nature of the processes and
activities and then create a single data flow
diagram fragment
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Partitioning Data Flow Diagrams
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Reasons for Partitioning
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Partitioning Websites
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Communicating Using
Data Flow Diagrams
•Use unexploded data flow diagrams early
when ascertaining information requirements
•Meaningful labels for all data components
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Summary
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Summary (continued)
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Summary (continued)
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Copyright
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved