Cambridge O Level Computer Science 2210 · 7.6 Suitable test data

Q35 · 2210/22/O/N/20 Q3

Worked solution from the Algorithm design and problem-solving Paper 2 Algorithms, Programming and Logic booklet, Part 5 of 8.

Q352210/22/O/N/20original Q3Structured · 6 marks
Question 3 from 2210/22/O/N/20

Worked solution

Test the range 1 to 5000 with three kinds of data. Many answers are allowed; these are examples.

Type 1: extreme (boundary) data [1]

Test data 5000, to check it is accepted [1]

Type 2: normal data [1]

Test data 300, to check it is accepted [1]

Type 3: abnormal data [1]

Test data 10000, to check it is rejected [1]

KEY IDEATest with normal, extreme and abnormal data, and say whether each should be accepted or rejected.
TOTAL 6 marks

Official mark scheme

Mark scheme for 2210/22/O/N/20 question 3
VIDEO
▶ Whole paper

Video solution of the whole paper · by Quixotic Academy. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.