By: A.J.M. Imtiajur Rahman
1
Data Flow Diagram (Level-0 to Level-1)
Scenario
Consider a Garment system where foreign buyer gives some order to the
garment. The garment management receives the order and distributes the
work to its employees. After the completing the task employees send the
task to the QC department to check. QC checks the work quality and send
it back to employee for correction if there is any defect found. Employee
resolve the defects and re-send the corrected work to the QC again. QC
checks the corrected work and submit the final report to the management
(if the work pass the QC test). Management then deliver the shipment the
buyer (along with the QC report). All user need to log in the system to use
it.
Now prepare a complete Logical design for the system.
3
DFD Level-0 (Context Diagram)
Garment
Management Process
DFD Level-0
Foreign Buyer
Employee QC
Garment
Management
Buyer Registration Information
Buyer Registration Confirmation
Give Order
Receive defects form QC (if any)
Employee Registration Information
Employee Registration Confirmation
Submit finished task to QC
Submit corrected work to QC (if required)
Receive Shipment
Management Registration Information
Management Registration Confirmation
Receive Order
Deliver Shipment
Submit defects (if any)
QC Registration Information
QC Registration Confirmation
Receive finished task to check
Submit Final QC Report
Receive the corrected task (if required)
Figure-1: Context Diagram of Garments Management System
Receive final QC clearance
By: A.J.M. Imtiajur Rahman
Receive Distributed task
Distribute task to the employee
4
How process can be broken down to next level
Rules:
• Focus on the major incidents of the scenario
• Stakeholders relevance with the incidents
• Every sub-process along with its dataflow can create independent system.
Example:
Garment
Management Process
DFD Level-0
User Registration
Process
Order Dealing
Process
Quality Checking
Process
DFD 1.1
DFD 1.2
DFD 1.3
Level-1DFD
Figure-1: Process breakdown from upper level to lower level
By: A.J.M. Imtiajur Rahman
5
DFD Level-1
DFD Level-1
Foreign Buyer
Employee
QC
Garment
Management
Buyer Registration Information
Buyer Registration Confirmation
Give Order
Receive defects form QC (if any)
Submit finished task to QC
Submit corrected QC work (if required)
Receive Shipment
Management Registration Information
Management Registration Confirmation
DeliverShipment
Submit defects (if any)
QC Registration
Information
QC Registration Confirmation
Receive finished task to check
Submit Final QC Report
Receive the corrected task (if required)
Figure-1: DFD Level-1 of Garments Management System
User Registration
Process
Order Dealing
Process
Quality Checking
Process
DFD 1.1
DFD 1.2
DFD 1.3
User List
Prod. List
ReceiveOrder
Emp. Registration Information
Emp. Registration
Confirmation
By: A.J.M. Imtiajur Rahman
Receive Final QC Report
Management distribute task
Emp. Receive distributed task
By: A.J.M. Imtiajur Rahman
6
And That’s How DFD Works!
By: A.J.M. Imtiajur Rahman
6
And That’s How DFD Works!

DFD level-0 to 1

  • 1.
    By: A.J.M. ImtiajurRahman 1 Data Flow Diagram (Level-0 to Level-1)
  • 2.
    Scenario Consider a Garmentsystem where foreign buyer gives some order to the garment. The garment management receives the order and distributes the work to its employees. After the completing the task employees send the task to the QC department to check. QC checks the work quality and send it back to employee for correction if there is any defect found. Employee resolve the defects and re-send the corrected work to the QC again. QC checks the corrected work and submit the final report to the management (if the work pass the QC test). Management then deliver the shipment the buyer (along with the QC report). All user need to log in the system to use it. Now prepare a complete Logical design for the system.
  • 3.
    3 DFD Level-0 (ContextDiagram) Garment Management Process DFD Level-0 Foreign Buyer Employee QC Garment Management Buyer Registration Information Buyer Registration Confirmation Give Order Receive defects form QC (if any) Employee Registration Information Employee Registration Confirmation Submit finished task to QC Submit corrected work to QC (if required) Receive Shipment Management Registration Information Management Registration Confirmation Receive Order Deliver Shipment Submit defects (if any) QC Registration Information QC Registration Confirmation Receive finished task to check Submit Final QC Report Receive the corrected task (if required) Figure-1: Context Diagram of Garments Management System Receive final QC clearance By: A.J.M. Imtiajur Rahman Receive Distributed task Distribute task to the employee
  • 4.
    4 How process canbe broken down to next level Rules: • Focus on the major incidents of the scenario • Stakeholders relevance with the incidents • Every sub-process along with its dataflow can create independent system. Example: Garment Management Process DFD Level-0 User Registration Process Order Dealing Process Quality Checking Process DFD 1.1 DFD 1.2 DFD 1.3 Level-1DFD Figure-1: Process breakdown from upper level to lower level By: A.J.M. Imtiajur Rahman
  • 5.
    5 DFD Level-1 DFD Level-1 ForeignBuyer Employee QC Garment Management Buyer Registration Information Buyer Registration Confirmation Give Order Receive defects form QC (if any) Submit finished task to QC Submit corrected QC work (if required) Receive Shipment Management Registration Information Management Registration Confirmation DeliverShipment Submit defects (if any) QC Registration Information QC Registration Confirmation Receive finished task to check Submit Final QC Report Receive the corrected task (if required) Figure-1: DFD Level-1 of Garments Management System User Registration Process Order Dealing Process Quality Checking Process DFD 1.1 DFD 1.2 DFD 1.3 User List Prod. List ReceiveOrder Emp. Registration Information Emp. Registration Confirmation By: A.J.M. Imtiajur Rahman Receive Final QC Report Management distribute task Emp. Receive distributed task
  • 6.
    By: A.J.M. ImtiajurRahman 6 And That’s How DFD Works!
  • 7.
    By: A.J.M. ImtiajurRahman 6 And That’s How DFD Works!