Skip to main content
O-LevelComputer ScienceProgramming2210/22 · Oct/Nov 2021 · Q36 Marks

A program checks that the data entered is between 1 and 100 inclusive. Identify one piece of normal, extreme and erroneous test data for this program, and give a reason for each.

  1. A program checks that the data entered is between 1 and 100 inclusive. Identify one piece of normal, extreme and erroneous test data for this program, and give a reason for each. Normal test data Reason Extreme test data Reason Erroneous test data Reason[6]

Mark scheme

Marking points from the official mark scheme (Oct/Nov 2021). The mark or mark type is shown in brackets.

  1. One mark per bullet point
  2. Normal test data
  3. • Test data e.g. 50 (allow any number between 1 and 100 inclusive)
  4. • Reason Data that is within range and should be accepted
  5. Extreme test data
  6. • Test data 100 / 1
  7. • Reason Data at the maximum / minimum end of the range and should be accepted
  8. Erroneous test data
  9. • Test data e.g. 300 (allow anything that isn't between 1 and 100 inclusive, including other data types)
  10. • Reason Data outside the range that should be rejected

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Programming, O-Level Computer Science (syllabus 2210). Structured question, 6 marks.
Source
O-Level Computer Science, Oct/Nov 2021 Paper 2 Variant 2, question 3.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep