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

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

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

Official answer for Question 1

Part (a)

(ii)

✓
Many correct answers. They must be meaningful and related to Task 1. The names are examples only.

Question 4

✓
One mark per mark point
  • Variable
✓
NumberCandidates
  • Use
✓
Storing the number of candidates in the election (for a tutor group)
✓
•
✓
Array
✓
CandidateNames
✓
•
✓
Use
✓
Storing the names of the candidates for the election

Mark scheme 2210_s21_ms_21.pdf →

Show text version of question

Question 1

Part (a)

(ii)

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

(ii)

Identify one variable and one array you could have used for Task 1.

Explain the use of each one.

Variable .............................................................................................................................

Use ....................................................................................................................................

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

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

Array ..................................................................................................................................

Use ....................................................................................................................................

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

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

[4]
Topic relevance

Why this question appears here

73% 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