Skip to main content
O-LevelComputer ScienceAlgorithm design and problem-solving2210/22 · May/June 2025 · Q34 Marks

A range check is used to validate that the input temperature is an integer between –100 and 0, inclusive. Suggest suitable normal, abnormal, extreme and boundary test data to test if this validation check is working correctly. Normal test data Abnormal test data Extreme test data Boundary test data

  1. A range check is used to validate that the input temperature is an integer between –100 and 0, inclusive. Suggest suitable normal, abnormal, extreme and boundary test data to test if this validation check is working correctly. Normal test data Abnormal test data Extreme test data Boundary test data[4]

Mark scheme

Marking points from the official mark scheme (May/June 2025). The mark or mark type is shown in brackets.

  1. [1] One mark per correct piece of test data,
  2. Normal test data: -50 (any integer value between 0 and -100, inclusive)
  3. Abnormal test data: 50 (any value outside the range 0 and −100, inclusive, or any non-numeric input and non-integers
  4. Extreme test data: 0 // -100
  5. Boundary test data: 1 // 0 // -100 // -101

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
Algorithm design and problem-solving, O-Level Computer Science (syllabus 2210). Structured question, 4 marks.
Source
O-Level Computer Science, May/June 2025 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