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

Question 1(e) 2022 · October-November · Paper 22 · 4 marks

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

Official answer for Question 1

Part (e)

✓
Explanation of how the following could be done:

Question 4

✓
One mark per mark point, max four
✓
initialise counting variable(s) …
✓
MP1
✓
… for accessible spaces and general spaces before any spaces have been allocated
✓
MP2
✓
increment the counter(s) …
✓
MP3
✓
… for accessible spaces and general spaces
✓
MP4
✓
MP5
✓
maintain both counters for the full two-week cycle
✓
MP6
✓
output to show the total number of accessible and general spaces allocated so far, with suitable messages
✓
•
✓
Task 3 – working out car park usage statistics
✓
•
✓
Extend the program to enable the following statistics to be counted and output on request:
✓
•
✓
The number of accessible spaces used on any of the 14 days.
✓
•
✓
The number of general spaces used on any of the 14 days.
✓
•
✓
The total number of spaces used on any of the 14 days.
✓
•
✓
The number of accessible spaces used in the whole 14-day period.
✓
•
✓
The number of general spaces used in the whole 14-day period.
✓
•
✓
The total number of spaces used in the whole 14-day period.
✓
Cambridge IGCSE – Mark Scheme
✓
0478/22
✓
October/November 2022
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks
✓
Section B

Mark scheme 0478_w22_ms_22.pdf →

Show text version of question

Question 1

Part (e)

Question 1

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

Part (e)

Explain how your program records and outputs the number of accessible and general parking

spaces used for the two-week period (part of Task 3). Any programming statements used in your answer must be fully explained.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[4]

Question 7

Section B

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