Past-paper question · 2022 October-November · Paper 22 · Q1(d)

Question 1(d) 2022 · October-November · Paper 22 · 3 marks

Original past-paper question for 1(D)
Original past-paper question for 1(D)
Original past-paper question for 1(D)
Original past-paper question for 1(D)
Reveal official mark-scheme answer Official mark-scheme answer for 1(D)

Official answer for Question 1

Part (d)

✓
Explanation of how the following could be done:

Question 3

✓
One mark per mark point, max three
✓
MP1
✓
change the max constant to 560 / 28
✓
MP2
✓
change the output message for the user to say that the range of days entered must be from 1 to 28
✓
MP3
✓
alter the validation to allow an input of 1 to 28
✓
MP4
✓
change the size of the array that stores licence numbers / names so that it can hold the additional data
✓
MP5
✓
ensure that all loops that access the stored data for retrieval or erasing of data include the new full range

Mark scheme 0478_w22_ms_22.pdf →

Show text version of question

Question 1

Part (d)

Question 1

All variables, constants and other identifiers must have meaningful names.

Part (d)

Explain how your program in Task 2 could be altered so that bookings can be made for

any time over a four-week period instead of the current two-week period. Any programming statements used in your answer must be fully explained.

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

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

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

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

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

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

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

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

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

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

[3]
Topic relevance

Why this question appears here

88% assigned-topic match · 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 0478_w22_qp_22.pdf

Keep practising this topic