Past-paper question · 2021 May-June · Paper 22 · Q5(b)
Question 5(b) 2021 · May-June · Paper 22 · 1 mark
Reveal official mark-scheme answer
Official answer for Question 5
Part (b)
✓
(A FOR loop has) a fixed number of repetitions //
Question 1
✓
No need to manage the loop counter //
✓
no need to use another variable for the array index
✓
2210/22
✓
Cambridge O Level – Mark Scheme
✓
May/June 2021
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks
Show text version of question
Question 5
Part (b)
Question 5
A one-dimensional array dataArray[1:20] needs each element set to zero.
Part (b)
Explain why you chose this loop structure.
...................................................................................................................................................
.............................................................................................................................................
[1]
Question 12
Topic relevance
Why this question appears here
85% assigned-topic match · Programming › Arrays
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_22.pdf
