ExamBank Scot · Higher Computing Science question bank · All Higher Computing Science questions
3 marks · Entity-relationship modelling
A laundry company uses a relational database to manage customer orders. The database has the following tables. Customer Order Item OrderItem customerID forename surname address phone accountBalance orderID customerID* orderDate deliveryDate status totalAmount itemID itemName description price orderItemID orderID* itemID* quantity Draw an entity-relationship diagram to show the relationships that exist in this database. Your answer should show the entity names and cardinality. Attributes are not required on the diagram.
• customer – Order (1:M) • order – OrderItem (1:M) • item – OrderItem (1:M)
Previous question: Higher Computing Science 2025 Question 10