Skip to main content

GCSE

Lesson 15 Data validation

Curriculum > KS4 > Unit > Lesson

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
  • Learning graphs
  • Unit overviews
  • Activities
Log in to download

Not registered yet?

Create an account and get access to over 500 hours of free teaching resources.

GCSE revision

A comprehensive range of content and helpful practice questions are also available for this topic.

Help us make these resources better

Provide your feedback

Or email us at [email protected]