Signed up recently but had issues with the confirmation email?

Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.

Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.

Revision notesQuestionsFor schools
Revise Computing
Log inStart revising free
Revision notesQuestionsFor schoolsLog in
GCSE Computer Science/Supplementary programming practice/Testing

Test data types

301.13 Testing

Practise exam questions

Testing — Note 2 of 6

Normal, boundary, erroneous.

What you need to know

There are three types of test data: normal (typical valid input), boundary (at the edge of valid ranges), and erroneous (invalid input that should be rejected).

What to know

  • Normal: typical valid data (e.g. age = 25)
  • Boundary: at the limits (e.g. age = 0, age = 120)
  • Erroneous: invalid data (e.g. age = -5, age = "abc")
  • Test all three types for thorough coverage

Code examples

Test data for age 0-120
python
# Normal: 25, 50, 80
# Boundary: 0, 1, 119, 120
# Erroneous: -1, 121, "hello", 3.5
← Previous noteWhy test?301.13 TestingNext note →Dry run tracing301.13 Testing

Back to Testing

Specification notes for programming are in Paper 2.

Testing

Note 2 of 6

  1. 1Why test?
  2. 2Test data types
  3. 3Dry run tracing
  4. 4Expected vs actual
  5. 5Test tables
  6. 6Debugging
Topic overview

© 2026 Revise Computing · revisecomputing.co.uk

Worried about something?Question Bank UpdatesPrivacy noticeTermsContact

Revise Computing is an independent revision resource. It is not affiliated with, or endorsed by, OCR (Oxford Cambridge and RSA Examinations).