Exercise 2: Online Shopping System
Create a Data Flow Diagram (DFD) for an Online Shopping System. In this system, a Customer
can browse through products available on the platform, add desired items to a shopping cart, and
proceed to place an order. Once the order is placed, the Order Management System processes it
and forwards the details to the Warehouse for packaging and dispatch. After the order is packaged,
the Inventory is updated to reflect the reduced stock, and the order is handed off for Delivery. The
system should also include a Payment System that handles the transaction from the customer. Draw
a Level 0 and Level 1 DFD to demonstrate the flow of information.
Order Checking
Id
Id
Customer Item status
Warehouse
Invoice 0
Complete order
Payment request
Online shopping system
Prepare
adjust
Id Update amount of items Shipping
Inventory Id
Delivery
1 Checking Id
Id Order
Warehouse
Customer
Item status Complete order
Order management
2
Payment request Order database
Invoice
Payment process
Id
Update amount of items
Inventory
Adjusting and shipping
Prepare
Adjust Id
Delivery
Delivery
Inventory database
Delivery status
1.1
Id Id
Checking
Order
Customer Confirm order Warehouse
1.2
Items status Report
Warehouse status
Order database
2.1
Id
Payment request
Customer Confirm payment Order database
2.2
Invoice
Payment system
3.1
Id Update amount of items
Inventory Inventory management Inventory database
Adjust
3.2
Prepare
Id
Shipping management
Shipping
Delivery status Delivery