Dataflow Diagram
Symbols
Source/ Destination Process
Data Store Flow line
Improved System Technique
2
Yourdon Technique
RULES OF THUMB
1. 2. 3.
4. 5.
6.
7.
The DFD to be drawn from left to right, top to bottom All processes to be numbered The DFD will start with a Context diagram, then First level, Second level etc The flow should match even when exploded The source and destination when it is same should be indicated with a slash The Source / Destination, Data store should be mentioned in CAPS, while the Process and Data line should be mentioned in first letter Caps Data should not go directly from
Source to Destination Source/ Destination to File File to File
Characteristics
Split of data flows
Compute income
Profit
Loss
Control signals from a process
Actual Cost
Actual < Std
Compare
Standard Cost Actual > Std
Loops
Sale docket
Get next docket
Ask for more Prepare Monthly Invoice Transactions
Add to daily sale
Total sale amount
Input Signals
End of month Invoice
4
Decisions in Data flow diagram
INVENTORY INVENTORY_REC= ITEM_NO+QTY_HELD
Check item Availablity Item request
Unavailable Note Available Note FIND INVENTORY_REC with ITEM_NO in INVENTORY_REC = ITEM_NO in Item Request IF QTY_HELD in INVENTORY_REC <QTY_NEEDED in Item Request THEN write Unavailable Note ELSE write Delivery Note
5
=REQ_NO+ITEM_NO +QTY_NEEDED
REPETITIONS IN DFD
Sales docket Compute daily sales
Total Sales
= ITEM_NO +QTY_SOLD+ PRICE
=DAILY_TOT_SALES REPEAT FOR all Sales Docket BEGIN SALES_AMT=QTY_SOLD+PRICE DAILY_TOT_SALES= DAILY_TOT_SALES+SALES_AMT END Send TOT_SALES