Skip to main content
O-LevelComputer ScienceProgramming2210/23 · Oct/Nov 2024 · Q79 Marks

A programmer is testing a program that requires a positive value between 1 and 100 inclusive to be entered. The range check in the program is to be tested. Identify three different types of test data to be used. For each type of test data, give an example of the value(s) to be used and the expected outcome. Type 1 Example Outcome Type 2 Example Outcome Type 3 Example Outcome

Mark scheme

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

  1. One mark for test data type, one mark for matching example and one mark for matching outcome (Max nine)
  2. normal (1) e.g. 25 (1) accepted (1)
  3. extreme (1) 1/100 (1) accepted (1)
  4. abnormal (1) e.g. 125 (1) rejected (1)
  5. boundary (1) 1 and 0 // 100 and 101 (1) first value is accepted, and second value rejected (1)

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, 9 marks.
Source
O-Level Computer Science, Oct/Nov 2024 Paper 2 Variant 3, question 7.

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