GCSE – Lesson 15 – Data validation
Learners will spend this lesson finding out how to effectively add data validation techniques to their programs. They will learn why they are important, and how to incorporate them. Before this lesson, learners have only used a try and except technique that works once, then breaks the second time. This lesson will show them how to incorporate try and except inside a while loop. It will also show learners how to check the range of a value and if a user input has been left empty.
Learning objectives
- Determine the need for validation checks
- Use iteration to perform validation checks
Package contents
- Lesson plans
- Slide decks
- Learner resources
- Homework
Don't have an account?
GCSE revision
A comprehensive range of content and helpful practice questions are also available for this topic.
View on Ada Computer ScienceEnjoyed teaching these lessons? Found a mistake?
Fill in a short form to give feedback on these resources.