Past-paper question · 2023 May-June · Paper 21 · Q3(b)

Question 3(b) 2023 · May-June · Paper 21 · 6 marks

Original past-paper question for 3(B)
Original past-paper question for 3(B)
Reveal official mark-scheme answer Official mark-scheme answer for 3(B)

Official answer for Question 3

Part (b)

✓
One mark for each appropriate test data, max three

Question 6

✓
One mark for each correct accompanying reason, max three
✓
For example:
✓
Normal – 75
✓
Reason – the data lies within the required range and should be accepted
✓
Abnormal – Sixty
✓
Reason – this is the wrong data type and should be rejected
✓
Extreme – 200
✓
Reason – the highest value in the required range that should be accepted
✓
2210/21
✓
Cambridge O Level – Mark Scheme
✓
May/June 2023
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_s23_ms_21.pdf →

Show text version of question

Question 3

Part (b)

Part (b)

A validation check is used to make sure that any value that is input is an integer between 30

and 200 inclusive.

Give one example of each type of test data to check that the validation check is working as intended. Each example of test data must be different.

Give a reason for each of your choices of test data.

Normal test data .......................................................................................................................

Reason .....................................................................................................................................

...................................................................................................................................................

Abnormal test data ...................................................................................................................

Reason .....................................................................................................................................

...................................................................................................................................................

Extreme test data .....................................................................................................................

Reason .....................................................................................................................................

...................................................................................................................................................

[6]
Topic relevance

Why this question appears here

98% assigned-topic match · Algorithm design and problem-solving

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 2210_s23_qp_21.pdf

Keep practising this topic