Year 11 Computer Science ATAR: Data validation techniques
Students write and test validation checks for presence, type, range, length, format and list, and combine them into input loops and validator functions.
One content description from the full WA Computer Science ATAR Year 11 — Control Structures and Data Types journey. All 12 modules below are in that journey too, with the same content — add just these to a class, or the whole strand.
Modules (12)
1
Validation versus verification
2
Validation: why data is checked on entry
3
Types of validation check
4
Existence checking in code
5
Type checking in code
6
Range checking in code
7
Length check with len()
8
Format check with string methods
9
List check with the in operator
10
Input validation with a while loop
11
Combining validation checks in a validation function
12
Constructing test data for validation checks
For Teachers
Add this journey to your class and track every student in real time.
Create a free teacher account →No credit card. No setup fee. Make a class and invite students in under three minutes.
For Students
Start this journey on Cloodit — track progress, earn badges, and play live sprints with your class.
Start Learning Free →