Data dictionary
A table listing each data element with its name, data type, size or format, description and validation rule, so everyone uses the data the same way when coding and testing.
Understanding Data dictionary in VCE Software Development U3O1
What it does: Recording the data type tells the programmer to store ticketPrice as a decimal number, not as text or an integer. A clear validation rule lets testers pick boundary values and invalid values to check that the program accepts and rejects data correctly. A data dictionary documents the data elements in a solution, usually with one row per variable or field. Each data element gets its own row so its details are easy to find and check. The validation column states the rules the data must meet, such as an allowed range. A name is made up of text, so it is stored as a string. Boolean is only for True/False values.
Common mistakes: The example must match the data type. An Integer field needs a whole number such as 15, not the word fifteen. Fix: Example: 15. A Boolean field can only hold True or False, so the example 25 does not match the data type or the format. Fix: Example: True.
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 10–47) and word search (Modules 10–71).
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
data dictionaryFill in the Blanks
Spot the Error
Student with a class code? Join your class →