Activities

Food Ordering System

Context Diagram / Level 0 DFD

Below is an online food ordering system:

  • External Entities: Customer, Restaurant

  • Processes: Place Order, Notify Restaurant

  • Data Flows: Order details, Confirmation message


  1. Explain how the above components may interact.

  2. Draw a context diagram (Level 0 DFD) to represent the above system (i.e. no data stores).


Level 1 DFD

Here is an updated version of the food ordering system with more functionality:

  • External Entities: Customer, Restaurant

  • Processes: Receive Order, Process Payment, Notify Restaurant

  • Data Stores: Order Records, Payment Transactions

  • Data Flows: Order Details, Order Receipt, Payment Info, Store Payment Data, Order Confirmation, Order Notification, Save Order


  1. Draw a Level 1 Data Flow Diagram to represent the above system.

Last updated