Question 2(b)(ii) 2023 · May-June · Paper 23 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 2
Part (b)
(ii)
Question 2
Show text version of question
Question 2
Part (b)
(ii)
Question 2
A program stores a date of birth for a student using a variable, MyDOB, of type DATE.
year of a given date.
The function will validate the date of birth for a student that the parameters passed to it represent. For a date to be valid, a student must be at least 18 in year 2020.
(ii)
Several values of the parameter representing the day can only be checked completely
by referring to the value of one other parameter.
Describe this check.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
.....................................................................................................................................
Question 5
Question 6
Why this question appears here
71% assigned-topic match · Programming › Structured programming
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 9618_s23_qp_23.pdf
