Drawing an ERD from a scenario
Find the entities, list their attributes, pick primary keys, then work out each relationship and draw it, with the foreign key on the many side.
Understanding Drawing an ERD from a scenario in ACARA Digital Technologies Years 9–10
What it does: teacherId is the foreign key in CLASS because many classes can share one teacher. The many side holds the link. Start by finding the entities. Underline the nouns in the scenario, then work out attributes, keys and relationships. Classes, students and teachers are things the school stores data about, so they are entities. Name and Room are attributes. Title describes a book, so it is an attribute that becomes a field. Loan is a separate entity. In Loan, memberId and bookId point to the primary keys in Member and Book, so they are foreign keys. After finding an entity, you list its attributes and choose a primary key that uniquely identifies each member.
Common mistakes: Entities are nouns (things we store data about). Borrow is a verb, so it describes an action, not an entity. It should be Entity: Member. Every entity needs a primary key. Book has no PK, so it should be Book(bookId PK, title).
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 433–451) and word search (Modules 413–451).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
ERD from a scenarioFill in the Blanks
Spot the Error
Student with a class code? Join your class →