Systems Analysis and Design 10 Edition: Data and Process Modeling
Systems Analysis and Design 10 Edition: Data and Process Modeling
2
Chapter Objectives (Cont.)
what it contains
Use process description tools, including
physical models
3
Overview of Data and Process
Modeling Tools
Systems analysts use many graphical techniques
to describe an information system
A data flow diagram (DFD) uses various symbols
4
Data Flow Diagrams
A data flow diagram (DFD) shows how data
moves through an information system but does
not show program logic or processing steps
A set of DFDs provides a logical model that
5
Data Flow Diagrams (Cont.)
DFD Symbols
◦ Four basic symbols
◦ Gane & Sarson
used in text
◦ Yourdon also popular
6
Data Flow Diagrams (Cont.)
Process Symbol
7
Data Flow Diagrams (Cont.)
FIGURE 5-5 Examples of correct combinations of data flow and process symbols
8
Data Flow Diagrams (Cont.)
10
Data Flow Diagrams (Cont.)
11
Data Flow Diagrams (Cont.)
12
Data Flow Diagrams (Cont.)
13
Creating a Set of DFDs
Create a graphical model of the information
system based on your fact-finding results
◦ First, you will review a set of guidelines for
drawing DFDs
◦ Then you will learn how to apply these guidelines
and create a set of DFDs using a three-step
process
14
Creating a Set of DFDs (Cont.)
Keep in mind:
◦ All flow lines must
be labeled
◦ Large processes can
be broken down into
smaller components
15
Creating a Set of DFDs (Cont.)
16
Creating a Set of DFDs (Cont.)
Step 1:
Draw a
Context
Diagram
17
Creating a Set of DFDs (Cont.)
Step
2: Draw a
Diagram 0 DFD
◦ 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
FIGURE 5-16 Diagram 0
DFD for the order system
18
Creating a Set of DFDs (Cont.)
Step 3:
Draw the
Lower Level
Diagrams
22
Data Dictionary
• A data dictionary, or data repository, is a
central storehouse of information about the
system’s data
• An analyst uses the data dictionary to
collect, document, and organize specific
facts about the system
• Also defines and describes all data elements
and meaningful combinations of data
elements
23
Data Dictionary (Cont.)
24
Data Dictionary (Cont.)
25
Data Dictionary (Cont.)
26
Data Dictionary (Cont.)
27
Data Dictionary (Cont.)
28
Data Dictionary (Cont.)
Documenting the
Data Flows
◦ Data flow name or label
◦ Description
◦ Alternate name(s)
◦ Origin
◦ Destination
◦ Record
◦ Volume and frequency
FIGURE 5-25 In the upper screen, an analyst has entered four
items of information in an online documentation form. The lower
screen shows the same four items entered into a Visible Analyst
data dictionary form
29
Data Dictionary (Cont.)
30
Data Dictionary (Cont.)
Documenting the
Processes
◦ Process name or label
◦ Description
◦ Process number
◦ Process description
FIGURE 5-27 Visible Analyst screen that describes a
process named VERIFY ORDER
31
Data Dictionary (Cont.)
Documenting the
Entities
◦ Entity name
◦ Description
◦ Alternate name(s)
◦ Input data flows
◦ Output data flows
32
Data Dictionary (Cont.)
Documenting
the Records
◦ Record or data
structure name
◦ Definition or
description
◦ Alternate name(s)
◦ Attributes
33
Data Dictionary (Cont.)
34
Process Description Tools
Typical process description tools include
structured English, decision tables, and
decision trees
Process description tools also can be used in
object-oriented development
◦ O-O programmers use different terminology. They
create the same kind of modular coding structures,
except that the processes, or methods, are stored
inside the objects, rather than as separate
components
35
Process Description Tools (Cont.)
Modular Design
◦ Based on
combinations of three FIGURE 5-30 Sequence structure
logical structures,
sometimes called
control structures,
which serve as
building blocks for
the process FIGURE 5-31 Selection structure
Sequence
Selection
Iteration - looping
Structured English
◦ Must conform to the
following rules
Use only the three
building blocks of
sequence, selection, and
iteration
Use indentation for
readability
Use a limited vocabulary,
including standard terms
used in the data
dictionary and specific
words that describe the
processing rules FIGURE 5-33 The VERIFY ORDER process description
includes logical rules and a structured English version of
the policy. Notice the alignment and indentation of the
logic statements
37
Process Description Tools (Cont.)
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
38
Process Description Tools (Cont.)
FIGURE 5-34 The Verify Order business process has two conditions. For an
order to be accepted, the product must be in stock and the customer must
have an acceptable credit status
FIGURE 5-35 Example of a simple decision table showing the processing logic
of the VERIFY ORDER process
39
Process Description Tools (Cont.)
FIGURE 5-36 A third condition has been added to the Verify Order business process. For an order
to be accepted, the product must be in stock and the customer must have an acceptable credit
status. However, the credit manager now has the authority to waive the credit status requirement
FIGURE 5-37 This table is based on the Verify Order conditions shown in Figure
5-36. With three conditions, there are eight possible combinations, or rules
40
Process Description Tools (Cont.)
FIGURE 5-38 In the first table, dashes have been added to indicate
that a condition is not relevant. In the second version, rules have
been combined. Notice that in final version, only four rules remain.
These rules document the logic, and will be transformed into
program code when the system is developed 41
Process Description Tools (Cont.)
FIGURE 5-39 A sales promotion policy with three conditions. Notice that the first statement
contains two separate conditions – one for the 5% discount, and another for the additional discount
FIGURE 5-40 This decision table is based on the sales promotion policy in
Figure 5-39. This is the initial version of the table, before simplification
42
Process Description Tools (Cont.)
FIGURE 5-41 In this version, dashes have been added to indicate that a condition is not
relevant. At this point, it appears that several rules can be combined
43
Process Description Tools (Cont.)
Decision Trees
◦ Graphical representation of the conditions,
actions, and rules found in a decision table
◦ Show the logic structure in a horizontal form that
resembles a tree with the roots at the left and the
branches to the right
◦ Decision trees and decision tables provide the same
results, but in different forms
FIGURE 5-42 This example is based on the same Sales
Promotion Policy shown in the decision tables in Figures
5-40 and 5-41 on the previous page. Like a decision table,
a decision tree shows all combinations of conditions and
outcomes. The main difference is the graphical format,
which many viewers find easier to interpret
44
Logical versus Physical Models
While structured analysis tools are used to
develop a logical model for a new information
system, such tools also can be used to
develop physical models of an information
system
A physical model shows how the system’s
45
Logical versus Physical Models
(Cont.)
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
46
Logical versus Physical Models (Cont.)
Four-Model Approach
◦ Develop
A physical model of the current system
A logical model of the current system
A logical model of the new system
A physical model of the new system
◦ The only disadvantage of the four-model
approach is the added time and cost
47
Chapter Summary
• During data and process modeling, a
systems analyst develops graphical models
to show how the system transforms data into
useful information
• The end product of data and process
modeling is a logical model that will support
business operations and meet user needs
• Data and process modeling involves three
main tools: data flow diagrams, a data
dictionary, and process descriptions
48
Chapter Summary (Cont.)
49
Chapter Summary (Cont.)
50