Professional Documents
Culture Documents
1 - Using Dataflow Diagrams
1 - Using Dataflow Diagrams
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-2
Advantages of the Data Flow
Approach
• Freedom from committing to the
technical implementation too early
• Understanding of the interrelatedness
of systems and subsystems
• Communicating current system
knowledge to users
• Analysis of the proposed system
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-3
Basic Symbols
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-5
External Entities
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-6
Data Flow
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-7
Process
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-8
Data Store
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-9
Basic Rules
2.1
Payment Detail
D1 Accounts
Invoice Detail
Post Receivable
Payment
Correct/Incorrect?
1.0
Grade Detail Grade Report
Produce
Grade
Report
Correct/Incorrect?
2.0
Book
Flight
Fight
Request
Passengers
14
Correct/Incorrect?
D2 Accounts
Receivable
Invoice
Payment
Detail
Detail
3.0
Post
Payment
15
Correct/Incorrect?
Customer Payment
D1 Daily
Payments
Daily Payment
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-16
Correct/Incorrect?
1.0
Order
CUSTOMER Invoice
Verify
Order
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-17
Correct/Incorrect?
BANK
Bank
Deposit
2.0
Prepare
Deposit
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-18
Correct/Incorrect?
Paycheck
Payment Payment
EMPLOYEE 3.0
Accounts
Receivable
Apply
Payment
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-19
Correct/Incorrect?
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-20
Correct/Incorrect
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-21
Creating the Context Diagram
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-22
Context Diagram (Figure 7.3)
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-23
Drawing Diagram 0
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-24
Drawing Diagram 0 (Continued)
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-25
Note Greater Detail in Diagram 0
(Figure 7.3)
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-26
Data Flow Diagram Levels
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-27
Creating Child Diagrams
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-28
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.
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-29
Differences between the Parent Diagram
(above) and the Child Diagram (below)
(Figure 7.4)
Kendall & Kendall Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 7-30
Exercise:
Status 0 Shipping
Message Order
Order
Invoice System Shipping Confirmation
Inventory
Reports
Context ACCOUNTING
Diagram of
Order
System
Order In-Stock Request
CUSTOMER WAREHOUSE
1.0
Status
Message
Check Shipping
Status Data Status Order
Order
2.0 Data
Shipping 3.0
Confirmation Pending
Issue D1 Orders
Status
Messages Generate
Shipping
Order Data Order
Payment 4.0
Order Data
Invoice
Manage
Accounts
Receivable
5.0
Accounting Data Accounts Receivable Data
Produce
Accounts Reports
D2 Receivable
Inventory
Level-0 of Reports
Order System
ACCOUNTING