2210/22/O/N/25 question 3: worked solution (October/November 2025, paper 22)

Show as plain text

Cambridge O Level Computer Science 2210 · 7.6 Suitable test data Worked solution from the Algorithm design and problem-solving Paper 2 Algorithms, Programming and Logic booklet, Part 5 of 8. Q44 2210/22/O/N/25 original Q3 Structured · 6 marks Worked solution Test data must be normal (in range), boundary (on the edge of the limit) or abnormal (outside the limit). Fill in the six empty boxes. Test data Type of test data Purpose of test data 0 normal to make sure that the program accepts data that is in range 100 (or –100) boundary to make sure that the program rejects data that is on the wrong side of the boundary 300 abnormal to make sure that the program rejects data that is outside acceptable limits Row 1: type of test data is normal [1] Row 1: purpose is to accept data that is in range [1] Row 2: test data is 100 or –100 (just outside the limit) [1] Row 2: purpose is to reject data on the wrong side of the boundary [1] Row 3: test data is a value well outside the limits, for example 300 [1] Row 3: type of test data is abnormal [1] KEY IDEA Normal data is in range, boundary data sits on the edge of the limit, and abnormal data is clearly outside the limits and must be rejected. TOTAL 6 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by MAK CS. Tap the picture to open it on YouTube.