Professional Documents
Culture Documents
CHAPTER 2 System Development and Documentation Techniques
CHAPTER 2 System Development and Documentation Techniques
Accounts
Receivable
Deposit
Bank
DATA FLOW DIAGRAMS
Deposit
Bank
DATA FLOW DIAGRAMS
• Data flows
– Appear as arrows
– Represent the flow of data between sources and
destinations, processes, and data stores
DATA FLOW DIAGRAMS
Deposit
Bank
DATA FLOW DIAGRAMS
Deposit
Bank
DATA FLOW DIAGRAMS
Update
General
Receiv-
Ledger
ables
DATA FLOW DIAGRAMS
• Processes
– Appear as circles
– Represent the transformation of data
DATA FLOW DIAGRAMS
Deposit
Bank
DATA FLOW DIAGRAMS
• Data stores
– Appear as two horizontal lines
– Represent a temporary or permanent repository of
data
DATA FLOW DIAGRAMS
• The data store is shown in
red.
• Notice that the inflows and Accounts
outflows to the data store are Receivable
not labeled.
Deposit
Bank
DATA FLOW DIAGRAMS
• Data dictionary:
– Data flows and data stores are typically
collections of data elements.
– EXAMPLE: A data flow labeled student
information might contain elements such as
student name, date of birth, ID number,
address, phone number, and major.
– The data dictionary contains a description of
all data elements, data stores, and data flows
in a system.
DATA FLOW DIAGRAMS
Bank
Human
Resources
Bank
Human
Resources
Bank
Human
Resources
Payroll
disburse-
3.0 5.0
ment data
Prepare Employee/ Update
Reports Payroll File
This diagram Gen.
Ledger
shows the Payroll tax
disb. voucher
next level of Payroll
report
detail for the 4.0 General
Ledger
context Pay
Tax report
Manage- Taxes
diagram in & payment
Govt.
ment
Figure 3-5. Agencies
DATA FLOW DIAGRAMS
Depart-
ments Employees
Employee
New employee Time paychecks
Human form cards
Resources
1.0
Update 2.0
Employee Pay Payroll
Empl.
change Employ- check
Payroll Bank
form ees
File
Payroll
disburse-
3.0 5.0
ment data
Prepare Employee/ Update
Reports Payroll File
What Gen.
Ledger
information Payroll tax
comes into Payroll disb. voucher
report
these 4.0 General
processes Pay Ledger
Taxes Tax report
and from Manage- & payment
ment Govt.
where? Agencies
DATA FLOW DIAGRAMS
Depart-
ments Employees
Employee
New employee Time paychecks
Human form cards
Resources
1.0
Update 2.0
Employee Pay Payroll
Empl.
change Employ- check
Payroll Bank
form ees
File
Payroll
Disburse-
3.0 5.0
ment data
Prepare Employee/ Update
Reports Payroll File
What Gen.
Ledger
information is Payroll tax
disb. voucher
produced by Payroll
report
these 4.0 General
Ledger
processes, Pay
Tax report
Manage- Taxes
and where & payment
Govt.
ment
does it go? Agencies
DATA FLOW DIAGRAMS
Depart-
ments Employees
Employee
New employee Time paychecks
Human form cards
Resources
1.0
Update 2.0
Employee Pay Payroll
Empl.
Change Employ- check
Payroll Bank
form ees
file
Payroll
Disburse-
3.0 5.0
ment data
Prepare Employee/ Update
reports Payroll file
Gen.
Ledger
How do the Payroll tax
Payroll disb. voucher
sources and report
destinations 4.0 General
Pay Ledger
differ from taxes Tax report
Manage- & payment
the context ment Govt.
diagram? Agencies
DATA FLOW DIAGRAMS
Depart-
ments Employees
Employee
New employee Time paychecks
Human form cards
Resources
1.0
Employee Update 2.0 Payroll
Empl. Pay
Change check
Payroll Employ- Bank
form
file ees
Payroll
Disburse-
3.0 ment data 5.0
Prepare Employee/
Update
reports Payroll file
Gen.
Ledger
Payroll tax
Notice that Payroll disb. voucher
report
each process General
4.0
in the DFD is Pay
Ledger
Tax report
numbered Manage- taxes
& payment
ment Govt.
sequentially. Agencies
DATA FLOW DIAGRAMS
Depart-
ments Employees
Employee
New employee Time paychecks
Human form cards
Resources
1.0
Update 2.0
Employee Pay Payroll
Empl.
change check
form
Payroll Employ- Bank
File ees
Payroll
Disburse-
3.0 5.0
ment data
Prepare Employee/ Update
Reports Payroll File
Suppose we Gen.
Ledger
exploded Process Payroll tax
2.0 (Pay Payroll disb. voucher
Employees) in the report
4.0 General
next level. The Ledger
Pay
sub-processes Taxes Tax report
Manage- & payment
would be ment Govt.
numbered 2.1, 2.2, Agencies
2.3, etc.
DATA FLOW DIAGRAMS
Payroll
disburse-
3.0 5.0
ment data
Prepare Employee/ Update
Reports Payroll File
Gen.
Ledger
Payroll tax
Payroll disb. voucher
report
4.0 General
Pay Ledger
Taxes Tax report
Manage- & payment
ment Govt.
Agencies
DATA FLOW DIAGRAMS
Input/Output Processing
Symbols Symbols
1.0
Update Student
Student Records
Records
Enrollment
Forms
2.0
Prepare Bursar
Enrollment
Class Lists Forms
Class
Lists
Faculty
Registrar’s Office
Enrollment
Forms
Update Sorted
1.0 A Enrollment
Student
Update Student Forms
Records
Student Records
Records
Enrollment Sorted
Forms Prepare
Enrollment Class
Forms Lists
2.0
Prepare
Enrollment
Bursar Here’s a
Class Lists
Forms flowchart Sorted
Class
Class
that goes Lists
Enrollment
Forms
Lists with the
story
Faculty
Faculty Bursar
FLOWCHARTS VS. DFDs
1.0 1.0
Update Student Update Student
Student Records Student Records
Records Records
Enrollment Enrollment
Forms Data
2.0 2.0
Prepare Bursar Prepare Bursar
Enrollment Enrollment
Class Lists Class Lists Data
Forms
Class Class
Lists Lists
Faculty Faculty
Registrar’s Office Registrar’s Office
Enrollment Sort
Student Students Enrollment
Forms Forms
s Data
Sorted Prepare
Enrollment Class Bursar
Prepare
Forms Lists Student Class
Records Lists
Sorted
Class
Lists
Enrollment Here’s the revised Class
Forms
flowchart. How has it Lists
changed?
Faculty Bursar
Faculty
Original
Flowchart
FLOWCHARTS VS. DFDs