Functional dependency and determinants
A field is functionally dependent on another when the other field's value determines it. The determinant fixes the value: studentId determines studentName.
Understanding Functional dependency and determinants in WA Computer Science ATAR Unit 2
What it does: The field on the left of the arrow is the determinant. Knowing studentId tells you the one firstName that goes with it. The value Red is linked to both Ava and Zoe, so house does not determine firstName. This shows how to test a dependency in sample data. One studentId value fixes exactly one studentName, so studentId is the determinant and studentName depends on it. Two students can share a name, so the name cannot determine the ID. If one value of A could show up with several different B values, A would not determine B. Repeating a subjectId is fine as long as it always has the same name. Here 1 is always Maths, so subjectId → name holds.
Common mistakes: Many students share the same year level, so year cannot determine studentId. The dependency should be studentId -> year. Line 4 shows studentId 101 with the name Ava. If line 2 gave 101 a different name, one studentId would have two names and the dependency would fail. Line 2 should be 101, Ava.
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 28–122) and word search (Modules 28–266).
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
functional dependencyFill in the Blanks
Spot the Error
Student with a class code? Join your class →