Past-paper question · 2023 October-November · Paper 22 · Q2(b)

Question 2(b) 2023 · October-November · Paper 22 · 4 marks

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

Official answer for Question 2

Part (b)

✓
One mark for each appropriate test data, max two

Question 4

✓
One mark for each correct accompanying reason, max two
✓
For example:
✓
Normal – 30/12/1960 …
✓
Reason – … (the date is written in the correct format and) should be
✓
accepted.
✓
Abnormal – 30/Dec/1960 …
✓
Reason – … (the month is not written in the correct format and) should be
✓
rejected.

Mark scheme 0478_w23_ms_22.pdf →

Show text version of question

Question 2

Part (b)

Question 2

A type of validation check is a length check. Another type of validation check is used to make sure

that any date entered is in the dd/mm/yyyy style: dd means day, mm means month and yyyy means year.

Part (b)

Give one example of normal test data and one example of abnormal test data you should

use to make sure the check in part

Part (a)

is working properly.

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

Normal ......................................................................................................................................

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

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

Abnormal ..................................................................................................................................

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

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

[4]
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 0478_w23_qp_22.pdf

Keep practising this topic