Context Diagram Practice
Unit 3 - System Analysis & Design
Instructions
Draw context diagrams using Yourdon/DeMarco notation. Remember: rectangles for external entities, circle for the system, arrows showing data flows with labels.
Symbol Reference
Question 1: Library System (4 marks)
Read the scenario and draw a context diagram in the space provided:
Scenario: A library system allows members to search for books and borrow items. The system sends overdue notices to members. Librarians can add new books, update member details, and generate reports. The system orders books from suppliers and receives delivery confirmations.
Identify the components:
External Entities:
Data Flows (list at least 4):
Draw the context diagram:
Question 2: Online Food Ordering (4 marks)
Scenario: An online food ordering system allows customers to browse menus, place orders, and make payments. Restaurants receive orders and update order status. Delivery drivers receive delivery assignments and report delivery completion. The system sends order confirmations and delivery updates to customers.
Identify the components:
External Entities:
Data Flows (list at least 5):
Draw the context diagram:
Question 3: Identify Errors (3 marks)
The following context diagram has 3 errors. Identify and explain each error:
Error 1:
Error 2:
Error 3:
Question 4: Short Answer (3 marks)
a) What is the purpose of a context diagram? (1 mark)
b) Why are data stores NOT shown on a context diagram? (1 mark)
c) What is a Data Flow Diagram (DFD) Level 0, and how does it differ from a context diagram? (1 mark)