Chapter 3
Chapter 3
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
• Data flows are shown in red.
• Does it appear that a data
flow can be two-way? Accounts
• If so, how is it handled? Receivable
Deposit
Bank
DATA FLOW DIAGRAMS
• Data flows should always be
labeled.
• The exception is a data flow Accounts
moving into or out of a data Receivable
store.
• What symbol is the data store?
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
• The transformation processes are
shown in red.
• Every process must have at least
Accounts
one data inflow and at least one
Receivable
data outflow. Why?
• What do you notice about how the
processes are labeled?
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
outflows to the data store are Accounts
not labeled. Receivable
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
This diagram Prepare Employee/ Update
reports Payroll file Gen.
shows the Ledger
next level of Payroll tax
Payroll disb. voucher
detail for the
report
context 4.0 General
Pay Ledger
diagram in Tax report
Manage- taxes
Figure 3-5. ment
& payment
Govt.
Agencies
DATA FLOW DIAGRAMS
Depart-
ments Employees
Employee
New employee Time paychecks
Human form cards
Resources
1.0
Update 2.0
Employee Payroll
empl. Pay
Change check
Payroll Employ- Bank
form
file ees
Payroll
Disburse-
3.0 5.0
ment data
What Prepare Employee/ Update
reports Payroll file Gen.
information Ledger
comes into Payroll tax
Payroll disb. voucher
these
report
processes 4.0 General
Pay Ledger
and from Tax report
Manage- taxes
where? ment
& payment
Govt.
Agencies
DATA FLOW DIAGRAMS
Depart-
ments Employees
Employee
New employee Time paychecks
Human form cards
Resources
1.0
Update 2.0
Employee Payroll
empl. Pay
Change check
Payroll Employ- Bank
form
file ees
Payroll
Disburse-
3.0 5.0
ment data
What Prepare Employee/ Update
reports Payroll file Gen.
information is Ledger
produced by Payroll tax
Payroll disb. voucher
these
report
processes, 4.0 General
Pay Ledger
and where Tax report
Manage- taxes
does it go? ment
& payment
Govt.
Agencies
DATA FLOW DIAGRAMS
Depart-
ments Employees
Employee
New employee Time paychecks
Human form cards
Resources
1.0
Update 2.0
Employee Payroll
empl. Pay
Change check
Payroll Employ- Bank
form
file ees
Payroll
Disburse-
3.0 5.0
ment data
How do the Prepare Employee/ Update
reports Payroll file Gen.
sources and Ledger
destinations Payroll tax
Payroll disb. voucher
differ from
report
the context 4.0 General
Pay Ledger
diagram? Tax report
Manage- taxes
& payment
ment Govt.
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
Notice that Prepare Employee/
Update
reports Payroll file
each process Gen.
Ledger
in the DFD is Payroll tax
Payroll disb. voucher
numbered
report
sequentially. 4.0 General
Ledger
Pay
Tax report
Manage- taxes
& payment
ment Govt.
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
Suppose we Payroll
exploded Process 3.0
Disburse-
ment data 5.0
2.0 (pay Prepare Employee/ Update
employees) in the reports Payroll file Gen.
next level. The Ledger
Payroll tax
sub-processes disb. voucher
Payroll
would be report
General
numbered 2.1, 2.2, 4.0
Pay Ledger
2.3, etc. Tax report
Manage- taxes
& payment
ment Govt.
Agencies
DATA FLOW DIAGRAMS
We will not do the entire DFD, however, you could finish this
table by reading the remainder of the narrative in Table 3-1 in
your textbook. The portion of the table completed so far allows
us to draw the segment of the DFD that is highlighted on the
following slide.
DATA FLOW DIAGRAMS
Depart-
ments Employees
Employee
New employee Time paychecks
Human form cards
Resources
1.0
Update 2.0
Employee Payroll
empl. Pay
Change check
Payroll Employ- Bank
form
file ees
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
• Document Symbol
– Represents a document or report that is
prepared by hand or printed by a computer.
INPUT/OUTPUT SYMBOLS
3
2
1
• Input/Output; Journal/Ledger
– Can represent any input or output on a
program flowchart.
– Also represents accounting journals or
ledgers in a document flowchart.
INPUT/OUTPUT SYMBOLS
• Display
– Represents information displayed by an
online output device such as a terminal,
monitor, or screen.
INPUT/OUTPUT SYMBOLS
• Online Keying
– Represents data entry by an online device
such as a terminal or personal computer.
INPUT/OUTPUT SYMBOLS
• Transmittal Tape
– Represents manually prepared control totals
which are to be compared to computer totals
for control purposes.
Return to Menu Processing Symbols Skip Symbols
PROCESSING SYMBOLS
• Computer Processing
– Represents a process performed by a
computer, which usually results in a change in
data or information.
PROCESSING SYMBOLS
• Manual Operation
– Represents a processing operation that is
performed manually.
PROCESSING SYMBOLS
• Auxiliary Operation
– Represents a processing operation carried
out by a device other than a computer, e.g.,
an optical character scanner.
PROCESSING SYMBOLS
• Magnetic disk
– Represents data stored permanently on a
magnetic disk.
– Frequently used to represent master files and
databases.
STORAGE SYMBOLS
• Magnetic Tape
– Represents data stored on a magnetic tape.
– Sometimes represents transaction files.
STORAGE SYMBOLS
• Diskette
– Represents data stored on a floppy disk or zip
disk.
STORAGE SYMBOLS
• Online Storage
– Represents data stored in a temporary online
file in a direct-access medium such as a
magnetic disk.
STORAGE SYMBOLS
• File
– Represents a file of documents that are manually
stored and retrieved.
– Letter indicates the ordering sequence:
• A = Alphabetic order
• D = Date order
• N = Numeric order
• Data/Information Flow
– Represents the direction of data/information
flow.
– Often used to show data being copied from
one document to another.
FLOW AND MISCELLANEOUS
SYMBOLS
• Communication Link
– Represents the transmission of data from one
location to another via communication lines.
FLOW AND MISCELLANEOUS
SYMBOLS
• On-page connector
– Connects processing from one location to
another on the same page.
– Used to avoid crisscrossing lines.
FLOW AND MISCELLANEOUS
SYMBOLS
• Off-page connector
– Connects the processing flow between two
different pages.
– Signals the exit from one page and the
corresponding entrance on another page.
FLOW AND MISCELLANEOUS
SYMBOLS
• Terminal
– Represents the beginning, end, or a point of
interruption in a process or program.
– Also used to indicate an external party.
FLOW AND MISCELLANEOUS
SYMBOLS
• Decision
– Represents a decision-making step.
– Used in a program flowchart to show
branching to alternate paths.
FLOW AND MISCELLANEOUS
SYMBOLS
• Annotation
– Provides for the addition of descriptive
comments or explanatory notes as
clarification.
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 Bursar Here’s a
Enrollment
Class Lists
Forms flowchart Sorted
Class
that goes Lists
Enrollment
Class
with the Forms
Lists
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
Forms Data
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