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

A program is written that will only accept values between –99.99 and +99.99, inclusive. The program is to be tested. The table, when completed, shows appropriate test data that matches the type of test data and purpose of the test data. Complete the table by inserting the missing information. Test data Type of test data 0 boundary to make sure that the program rejects data that is outside acceptable limits

  1. A program is written that will only accept values between –99.99 and +99.99, inclusive. The program is to be tested. The table, when completed, shows appropriate test data that matches the type of test data and purpose of the test data. Complete the table by inserting the missing information. Test data Type of test data Purpose of test data 0 boundary to make sure that the program rejects data that is outside acceptable limits[6]

Mark scheme

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

  1. [1] 0 – normal – to make sure that the program accepts data that is in range
  2. [1] 100 // -100 – boundary – to make sure that the program rejects data that is on the wrong side of the boundary
  3. [1] 300 – abnormal – to make sure that the program rejects data that is outside acceptable limits

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 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