2210/22/M/J/25 question 3: worked solution (May/June 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. Q43 2210/22/M/J/25 original Q3 Structured · 4 marks Worked solution The valid range is -100 to 0, whole numbers only. Choose one value for each type: Normal: -50 (any whole number from -100 to 0) [1] Abnormal: 50 (any value outside the range, or text such as "abc", or a non-integer such as -5.5) [1] Extreme: -100 (or 0), the largest or smallest accepted value [1] Boundary: -101 (or 1), the value just outside the limit. Values 0 and -100 are also accepted for boundary data. [1] KEY IDEA Normal data is accepted, abnormal is rejected, extreme is the edge of the accepted range and boundary is at the edge, including the first rejected value. TOTAL 4 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Craig'n'Dave. Tap the picture to open it on YouTube.