Data Flow Diagram Example

94,581 views

Published on

Published in: Business
9 Comments
26 Likes
Statistics
Notes
No Downloads
Views
Total views
94,581
On SlideShare
0
From Embeds
0
Number of Embeds
1,870
Actions
Shares
0
Downloads
2,131
Comments
9
Likes
26
Embeds 0
No embeds

No notes for slide

Data Flow Diagram Example

  1. 1. DFD Examples
  2. 2. Creating Data Flow Diagrams Steps:1. Create a list of activities2. Construct Context Level DFD (identifies external entities and processes)3. Construct Level 0 DFD (identifies manageable sub process )4. Construct Level 1- n DFD (identifies actual data flows and data stores )5. Check against rules of DFD
  3. 3. DFD Naming Guidelines• External Entity  Noun• Data Flow  Names of data• Process  verb phrase – a system name – a subsystem name• Data Store  Noun
  4. 4. Creating Data Flow Diagrams Lemonade Stand Example
  5. 5. Creating Data Flow Diagrams Example Steps:The operations of a simple 1. Create a list of activitieslemonade stand will be used • Old way: no Use-Case Diagramto demonstrate the creationof dataflow diagrams. • New way: use Use-Case Diagram 2. Construct Context Level DFD (identifies sources and sink) 3. Construct Level 0 DFD (identifies manageable sub processes ) 4. Construct Level 1- n DFD (identifies actual data flows and data stores )
  6. 6. Creating Data Flow Diagrams Example 1. Create a list of activitiesThink through the activitiesthat take place at a lemonadestand. Customer Order Serve Product Collect Payment Produce Product Store Product
  7. 7. Creating Data Flow Diagrams Example 1. Create a list of activitiesAlso think of the additionalactivities needed to supportthe basic activities. Customer Order Serve Product Collect Payment Produce Product Store Product Order Raw Materials Pay for Raw Materials Pay for Labor
  8. 8. Creating Data Flow Diagrams Example 1. Create a list of activitiesGroup these activities insome logical fashion,possibly functional areas. Customer Order Serve Product Collect Payment Produce Product Store Product Order Raw Materials Pay for Raw Materials Pay for Labor
  9. 9. Creating Data Flow Diagrams Example 2. Construct Context Level DFD (identifies sources and sink)Create a context leveldiagram identifying the Context Level DFDsources and sinks (users). Sales Forecast Order 0.0 CUSTOMER Lemonade Production Schedule EMPLOYEECustomer Order Product Served System PayServe Product Payment Time WorkedCollect Payment Received Goods Payment Purchase OrderProduce ProductStore Product VENDOROrder Raw MaterialsPay for Raw MaterialsPay for Labor
  10. 10. Creating Data Flow Diagrams Example 3. Construct Level 0 DFDCreate a level 0 diagram (identifies manageable sub processes )identifying the logical Level 0 DFDsubsystems that may exist. 1.0 Sale Customer Order Sales ForecastCustomer Order Product OrderedServe Product PaymentCollect Payment 2.0 Production CUSTOMER EMPLOYEE Production Schedule Product ServedProduce Product Received Goods InventoryStore Product 3.0 VENDOR Procure- Order Purchase OrderOrder Raw Materials ment DecisionsPay for Raw Materials Payment Pay Time WorkedPay for Labor 4.0 Payroll
  11. 11. Creating Data Flow Diagrams Example 4. Construct Level 1- n DFDCreate a level 1 (identifies actual data flows and data stores )decomposing the processes Level 1 DFDin level 0 and identifying CUSTOMERdata stores. Customer Order ORDER Request for ForecastCustomer Order 1.1Serve Product RecordCollect Payment Order 1.3 Produce Severed Order SalesProduce Product Payment Forecast Sales ForecastStore Product 1.2 Receive PAYMENT PaymentOrder Raw MaterialsPay for Raw MaterialsPay for Labor
  12. 12. Creating Data Flow Diagrams Example 4. Construct Level 1 (continued)Create a level 1decomposing the processes Level 1 DFDin level 0 and identifying Product Orderdata stores. ORDERCustomer Order 2.1 Serve Quantity SeveredServe Product ProductCollect Payment RAW Production MATERIALS ScheduleProduce Product 2.2Store Product Produce Quantity Used Product INVENTORTYOrder Raw Materials Production DataPay for Raw Materials 2.3 Quantity Produced & Store Location StoredPay for Labor Product
  13. 13. Creating Data Flow Diagrams Example 4. Construct Level 1 (continued)Create a level 1decomposing the processes Level 1 DFDin level 0 and identifying Order Decision PURCHASEdata stores. 3.1 ORDER Produce PurchaseCustomer Order Order Quantity On-HandServe Product RAW Quantity MATERIALSCollect Payment Received Received Goods 3.2Produce Product Receive ItemsStore Product RECEIVED ITEMS Payment ApprovalOrder Raw Materials VENDORPay for Raw Materials 3.3 Pay VendorPay for Labor Payment
  14. 14. Creating Data Flow Diagrams Example 4. Construct Level 1 (continued)Create a level 1decomposing the processes Level 1 DFDin level 0 and identifying Time Workeddata stores. 4.1 TIME CARDS Record TimeCustomer Order Worked Employee IDServe Product EMPLOYEECollect Payment Payroll Request 4.2 Unpaid time cardsProduce Product Calculate PayrollStore Product PAYROLL Payment ApprovalOrder Raw Materials 4.3Pay for Raw Materials Pay Employe e PAYMENTSPay for Labor Payment
  15. 15. Process Decomposition 1.1 1.2 1.0 Record Receive Sale Order Payment 2.1 2.2 2.3 2.0 Serve Produce Store Production Product Product Product 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 eContext Level Level 0 Level 1

×