Data Flow Diagrams
Data Flow Diagrams
Data Flow Diagrams
DFD
Meaning/Type
Introduced by De Marco (1978) and Gane and Sarson (1979) DF is a graphic representation of a system. Physical and logical
Levels
E TLP E 1 2 3
3.2
1.1.1
1.1.2
1.1.3
Symbols
Flow
Entity
Process
Data Store
Book
Book
Fine slip
Home Assignment
Getting ticket reserved for a train journey Getting item issued form a store Getting your mark sheet from a University Office
Home Assignment
A magazine is published monthly and is sent by post to its subscribers. Two months before the expiry of subscription, a reminder is sent too the subscribers. If subscription is not received within a month time another reminder is sent. If renewal subscription is not received up to two weeks before of the expiry of the subscription the subscribers name is removed from the mailing list and the subscriber is informed. Draw a logical DFD.
Answer
Second Example
A customer presents a cheque to a clerk. The clerk checks a file containing all account numbers and makes sure whether the account number in the cheque is valid., whether adequate balance is there in the account to pay the cheque, and whether signature is authentic. Having done these the clerk gives the customer a token. The clerk also debits customers account by the amount specified on the cheque. If cash cannot be paid due to error in the cheque, the cheque is returned. The token number is written on the top of the cheque and it is passed on to the cashier. The caisher calls out the token number and the customer goes to the cash counter with the token. The cashier checks the token number, takes the customers signature ,pays cash, enters cash paid in a ledger called day book and files the cheque.
Logical DFD
ER Representation
Vendors Orders
Supplies
Placed With
Items
Vendors
ER Representation
Orders
Placed For
Orders Paced with Vendors Vendors Supplies Items Orders Place for Items
Placed With
ER Representation
Vendors Orders
Supplies
Placed With
Items
Vendors
Attributes
Vendors
Vendor Code Vendor Name Address
Supplies
Vendor Code Item Code Order No Quantity Supplied Date of Supply Price/Unit Item Code Item Name
Items
Relations
Teacher
Vendor
Advices
Supplies
N Students
M Items
Order Table
Order no. Order Date Item Lines Item code 1456 1886 09/09/2011 04/03/2012 3687 Qty Price /unit 52 50.40
4627
4623 2345 4589 1788 19/05/2000 9876
38
44 33 55 44
60.20
20.25 19.89 44.33 12.89
1886 1886
1886 1788
04/03/2012 04/03/2012
04/03/2012 19/05/2000
4623 2345
4589 9876
44 33
55 44
20.25 19.89
44.33 12.89
1886 1886
1886 1788
04/03/2012 04/03/2012
04/03/2012 19/05/2000
4623 2345
4589 9876
44 33
55 44
20.25 19.89
44.33 12.89
Practice
Hours Worked
Project
Hours Worked