Modelling an object as a record
One row in a table that stores one object. Each attribute of the object becomes a field, so one pet's Name, Species and Age fill one record, and every record uses the same fields.
Understanding Modelling an object as a record in ACARA Digital Technologies Years 7–8
What it does: One INSERT adds one row, which stores one pet as one record. The query returns the same three fields for every pet record, showing that all records share the same fields. A record is a row of values for one pet. Name, Species and Age are the field names, which sit in the header. One object is one record. Putting two pets in one row breaks the rule of one object per row. The field is the column heading, such as Age. The value, such as 4, is stored in the record. The field list shows that each attribute of the pet object becomes one field in the table.
Common mistakes: Each field in CREATE TABLE must be separated from the next by a comma. 'Species TEXT' needs a comma after it so Age can be the next field: ' Species TEXT,'. A record must fill every field the table uses. This pet has a Name and Species but no Age value. It should be ('Milo', 'Dog', 3);.
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 331–360) and word search (Modules 331–411).
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
recordFill in the Blanks
Spot the Error
Student with a class code? Join your class →