Data Flow Diagrams (DFD)
Data Flow Diagrams (DFD)
(DFD)
Data Flow Diagrams
External Entity
Process
Data store
Data flow
5
Descriptions
External Entity - people or organisations that send data
into the system or receive data from the system.
6
External Entities
3.0
Hours Worked
Gross Pay
Calculated
Pay Rate
Gross
Pay
Processes
Verify Assemble
Order
Order
Data Stores Data store
Writing Readin
Data store g
Data in motion
Marks movement of data through the system
- a pipeline to carry data.
Connects the processes, external entities and
data stores.
Data Flow
2.1
Payment Detail
D1 Accounts
Invoice Detail Receivable
Post
Payment
Decomposition Of DFD
17
Layers of DFD Abstraction for Course Registration System
18
A Context Diagram (Level 0)
19
Rules for Level 1 Diagram :
20
Rules for Level 2 Diagram :
21
Numbering
22
Rules of Data Flow
Data can flow from Data cannot flow from
24
Three INCORRECT Data Flow
1 .0
Grade Report
Miracle (Spontaneous Produce
generation) Grade
Report
1 .0
Admission
System
Admission Approval Report
or Rejection
Level 0
Student
Information
Admission Application
1.1 1.2
Verified
Prior Admission
Application D1 Student Data Application
Data
Application
Application Data
Request
Application Approval 1.3
or Rejection Approved Application
Review
Admission
Application
Level 1 Process 2, Maintain
Student Information
Student 2.
5
Determination to Cancel
Cancel Operation Operation
DFD for Lemonade
Stand
Context Diagram
Sales Forecast
Order 0.0
CUSTOMER Lemonade Production Schedule EMPLOYEE
Product Served System Pay
Payment Time Worked
Received Goods
Payment
P
u
r
c
h
VENDOR a
s
e
O
r
d
e
r
Level 0
1.0
Sale
Customer Order Sales Forecast
Product Ordered
Payment
2 Production
CUSTOMER EMPLOYEE
.0
Production
Product Served
Schedule
Received Goods Inventory
3.0
VENDOR Procure- Order
Purchase Order ment Decisions
Payment
Pay Time Worked
4.0
Payroll
Level 1, Process
1
CUSTOMER
Customer Order
ORDER
Request for Forecast
1.1
Record
Order
1.3
Produce
Severed Order Sales
Payment Forecast
Sales Forecast
1.2
Receive PAYMENT
Payment
Level 1, Process 2 and Process 3
Order Decision
Product Order PURCHASE
3.1 ORDER
ORDER Produce
Purchase
2.1 Order Quantity On-Hand
Serve Quantity Severed RAW
Product
Quantity MATERIALS
RAW
Received Received
Production Goods
MATERIAL
S 3.2
Schedule 2.2 Receive
Produce Quantity Used Items
RECEIVED
Product
ITEMS
Payment Approval
INVENTORTY
Production Data
VENDOR
3.3
2.3 Pay
Quantity Produced &
Store Vendor
Location Stored
Product
Payment
Level 1, Process
4
Time Worked
Payroll Request
4.2
Unpaid time cards
Calculate
Payroll
PAYROLL
Payment Approval
4.3
Pay
Employe
e PAYMENTS
Payment
1.1 1.2
1.0
Process Decomposition
Record Receive
Sale
Order Payment
0.0
Lemonade
System
3.1
3.0 3.2 3.3
Produce
Procure- Receive Pay
Purchase
ment Items Vendor
Order
4.1 4.3
4.2
4.0 Record Pay
Calculate
Payroll Time Employe
Payroll
Worked e
Toke
n
Clerk
Cheque Cashier
Verify A/C
CUSTOMER Verify Token
Signature Update Cheque with Take Signature
Balance
Token number
Toke
n
Bad Cheque
Update
CUSTOMER Search &
Daily cash
match token
book
Token Slip Cheque
with token
Entry in Day
Cash Book
Questions
???