Unit 3 Data Flow Diagrams
Unit 3 Data Flow Diagrams
PROCESS
Stores demand
note 1.
STORES Issue Advice
Delivery slip
EXTERNAL ENTITIES
Order
Invoice
VENDOR Customer
Bill
DATA STORES
Label
GOOD STYLE IN DRAWING DFD
Extras Note
Students Vendors
Requisitions
Payments
Payments Supplies
Mess
Bills Management Mess secretary
Daily rate
System
Menu
Perishable
Items Item needed
Each day Overdue Bills
Mess manager Overdue Chief warden
Payments
Ext A 1 2 4 Ext B
F1 F4
Process 1 Process 2
F1
1.3
F4
3.3
EXPANDED DFD FOR HOSTEL MESS
MANAGEMENT
Mess
Students Secretary Chief Warden
Items to be issued
2 (today +2)
Vendor supplies Mess
Stores issue
Vendors and
Order non- Items used Manager
Control today
perishable system
Menu
(today +2)
Vendor data
Stores
inventory
Order data Mess
Secretary
Perishable order 3 Vegetables and perishable
Perishable requisition
Orders ordering
Vendor data
(perishable)
(perishable)
EXPANDED DFD-BILLING SYSTEM
Payments
Itemized 1.2
bills Calculate Unpaid
Bills bills Chief
Mess Student’s 1.3
bills Reconcile warden
Secretary
payments
Students data
Extras/Rebates Students data
Daily rate average
1.4 (upto date)
Find no 1.1
Of meals Calculate
No of meals to cook Daily rate
(today + 2)
Expenses data
Mess
Students data Manager Items rate data
• Observe numbering of processes
LEVELLING RULES
Record
Get students Calculate
extra/rebates Bill
record Ask for next record
Extra/rebate store
• Not correct as loop is formed
LEVELLING EXAMPLES
Low stock item
(today +2) No of meals to
be cooked
Mess manager (today +2)
Items to be used
on (today +2)
Items issued
Order
2.1
2.2
Inventory update
Mess manager Create order
And
Items used low stock warning Low stock for vendor
today item
Items needed
From 2.3
Vendor Stores inventory Order Vendor data
supplies
Vendor
Order to vendor
2.3 2.4
Calculate Items Check Item
needed availability
Mess secretary Items needed Low stock items
Menu
(today +2) (today+2)
No of meals to Stores
(today +2) inventory
LOGICAL AND PHYSICAL DFD
Cash
Token
Clerk
Verify A/C Cashier
Signature Verify Token
Customer Cheque Update Cheque with Take Signature
Token Balance Token number
Customer
Accounts
LOGICAL DFD FOR CHEQUE ENCASHMENT
• Arrow
show what's called "flow of control" in computer science. An arrow
coming from one symbol and ending at another symbol signifies flow
passes to the symbol the arrow points to.
• Processing steps
represented by rectangles. Examples: "Add 1 to X"; "replace identified
part"; "save changes" or similar.
• Input/output
represented by a parallelogram. Examples: Get X from the user; display
X
• Conditional
is represented by a diamond. These typically contain a Yes/No question
or True/False test.
• Document
represented by a rectangle with a wavy base;
• Manual input
represented by a rectangle, with the top irregularly sloping up
from left to right. An example would signify data-entry from a
form
• Off-Page Connector
Off-Page Connector shows continuation of a process flowchart
onto another page.
• Manual operation
represented by a trapezoid with the longest parallel side
upmost, to represent an operation or adjustment to process that
can only be made manually.
• Data File
represented by a cylinder
• On-page reference
Indicates that the next or previous step is somewhere else on
the flowchart. It is particularly useful for large flowcharts.
Program Flowchart
System Flowchart