2210/22/O/N/21 question 3: worked solution (October/November 2021, 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. Q36 2210/22/O/N/21 original Q3 Structured · 6 marks Worked solution Test data for a range of 1 to 100 inclusive: Normal test data: 50 (any number from 1 to 100) [1] Reason: it is within the range and should be accepted [1] Extreme test data: 1 or 100 [1] Reason: it is at the lowest or highest end of the range and should be accepted [1] Erroneous test data: 300 (any value outside 1 to 100, or a different data type such as the letters "abc") [1] Reason: it is outside the range and should be rejected [1] KEY IDEA Normal data is inside the range, extreme data is on the limits and still accepted, erroneous data is invalid and rejected. TOTAL 6 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Craig'n'Dave. Tap the picture to open it on YouTube.