Hoffer Msad6e ch07
Hoffer Msad6e ch07
and Design
Chapter 7
2
Learning Objectives (Cont.)
3
Process Modeling
FIGURE 7-1
Systems development life cycle with the analysis phase highlighted
4
Process Modeling (Cont.)
5
Process Modeling (Cont.)
6
Deliverables and Outcomes
7
Deliverables and Outcomes (Cont.)
Technology independent
Show data flows, structure, and functional requirements of
new system
8
Data Flow Diagramming Mechanics
9
Data Flow Diagramming Mechanics (Cont.)
10
Definitions and Symbols
FIGURE 7-2
Comparison of DeMarco
and Yourdon
and Gane and Sarson
DFD symbol sets
11
Definitions and Symbols (Cont.)
12
Definitions and Symbols (Cont.)
13
Developing DFDs
14
Context Diagram
FIGURE 7-4
Context diagram of Hoosier Burger’s food-ordering system
15
Developing DFDs (Cont.)
16
Level-0 Diagram
FIGURE 7-5
Level-0 DFD of Hoosier Burger’s
17
food-ordering system
Data Flow Diagramming Rules
18
Data Flow Diagramming Rules (Cont.)
TABLE 7-2 Rules Governing Data Flow Diagramming
19
Data Flow Diagramming Rules (Cont.)
TABLE 7-2 Rules Governing Data Flow Diagramming (cont.)
20
Decomposition of DFDs
21
Decomposition of DFDs (Cont.)
22
Level-1 DFD
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
23
Level-n DFD
FIGURE 7-9
Level-2 diagram showing the decomposition of Process 4.3
Level-n DFD shows
from the level-1 diagram for Process 4.0 for Hoosier Burger’s
the sub-processes of
food-ordering system
one of the processes
in the Level n-1
DFD.
This is a Level-2
DFD for Process 4.3.
Processes are labeled 4.3.1, 4.3.2, etc. If this is the lowest level of the
hierarchy, it is called a primitive DFD.
24
Some Common
Errors
25
Balancing DFDs
26
Balancing DFDs (Cont.)
Balanced means:
27
Balancing DFDs (Cont.)
29
Balancing DFDs (Cont.)
FIGURE 7-11
Example of data flow splitting
30
Balancing DFDs: More DFD Rules
31
Balancing the DFD
32
Four Different Types of DFDs
Current Physical
Process labels identify technology (people or systems) used
to process the data.
Data flows and data stores identify actual name of the
physical media.
Current Logical
Physical aspects of system are removed as much as
possible.
Current system is reduced to data and processes that
transform them.
33
Four Different Types of DFDs (Cont.)
New Logical
Includes additional functions.
Obsoleteoutdated functions are removed.
Inefficient data flows are reorganized.
New Physical
Represents the physical implementation of the new system.
34
Guidelines for Drawing DFDs
Completeness
Consistency
35
Guidelines for Drawing DFDs (Cont.)
Timing
Time is not represented well on DFDs.on a given DFD ,there is no indication of whether
a data flow occurs constantly in real time,once per week,or once per year.
Best to draw DFDs as if the system has never started and will
never stop.
Iterative Development
36
Guidelines for Drawing DFDs (Cont.)
Primitive DFDs
37
Guidelines for Drawing DFDs (Cont.)
38
Guidelines for Drawing DFDs (Cont.)
When the system user does not care to see any more detail
39
Guidelines for Drawing DFDs (Cont.)
When you believe that you have shown each business form
or transaction, online display and report as a single data
flow
40
Using DFDs as Analysis Tools
41
Using DFDs in BPR
FIGURE 7-16
IBM Credit Corporation’s primary work process before BPR
(Source: Based on Hammer and Champy, 1993.)
42
Using DFDs in BPR (Cont.)
FIGURE 7-17
IBM Credit Corporation’s primary work process after BPR
(Source: Based on Hammer and Champy, 1993.) 43
Modeling Logic with Decision Tables
44
Modeling Logic with Decision Tables (Cont.)
FIGURE 7-18
Complete decision table for payroll system example
45
Modeling Logic with Decision Tables (Cont.)
Action stubs: that part of a decision table that lists the actions
that result for a given set of conditions
46
Modeling Logic with Decision Tables (Cont.)
47
Modeling Logic with Decision Tables (Cont.)
Name the condition and the values that each condition can
assume.
Name all possible actions that can occur.
List all possible rules.
Define the actions for each rule.
Simplify the table.
48
Modeling Logic with Decision Tables (Cont.)
49
Electronic Commerce Application: Process
Modeling using Data Flow Diagrams
50
Electronic Commerce Application: Process
Modeling using Data Flow Diagrams (Cont.)
51
Electronic Commerce Application: Process
Modeling using Data Flow Diagrams
FIGURE 7-22 52
Level-0 data flow diagram for the Web Store
Summary
53
Summary (Cont.)
Balance high-level and low-level data flow diagrams.
54