ExamBank Scot · Higher Computing Science question bank · All Higher Computing Science questions
3 marks · Entity-relationship modelling
A car repair business uses a database to manage details of all the work carried out in their garage. The entities and attributes for the database are shown below. Vehicle Customer Job Mechanic regNo type make model customerID* customerID forename surname address telephone email jobID regNo* mechanicID* date workRequested mechanicID forename surname hoursWorked Draw an entity‑relationship diagram to show the relationships that exist in this database. Your answer should only show the entity names and cardinality.
• Customer – Vehicle (1:M) • Mechanic – Job (1:M) • Vehicle – Job (1:M)
Previous question: Higher Computing Science 2026 Question 10