Past-paper question · 2021 May-June · Paper 21 · Q1(b)

Question 1(b) 2021 · May-June · Paper 21 · 4 marks

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

Official answer for Question 1

Part (b)

✓
One mark per mark point (Max 4)

Question 4

✓
MP1
✓
Change the value of the MaxCandidates constant/variable to 8
✓
MP2
✓
Change the input message to state the maximum number of candidates is 8 …
✓
MP3
✓
…how your program changed the input message
✓
MP4
✓
Change the loop limit to up to 8 …
✓
MP5
✓
…how your program changed the loop limit
✓
MP6
✓
Change the validation to allow input up to 8 …
✓
MP7
✓
…how your program changed its validation check
✓
MP8
✓
Change the array size(s) to ensure sufficient capacity to store up to 8 names …
✓
MP9
✓
…how your program changed the array sizes
✓
MP10 Change the counters to ensure votes can be counted for up to 8 candidates …
✓
MP11 …how your program changed its counters
✓
2210/21
✓
Cambridge O Level – Mark Scheme
✓
May/June 2021
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_s21_ms_21.pdf →

Show text version of question

Question 1

Part (b)

Part (b)

Explain how you should change your program in Task 1 to allow a tutor to enter up to eight

candidates for the election.

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

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

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

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

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

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

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

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

[4]

Question 4

Topic relevance

Why this question appears here

99% assigned-topic match · Programming › Programming concepts

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_s21_qp_21.pdf

Keep practising this topic