Question 5(a) 2021 · May-June · Paper 22 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 5
Part (a)
Question 3
- Use of FOR loop
- Working loop with correct number of Iterations
- Correct assignment
Show text version of question
Question 5
Part (a)
Question 5
A one-dimensional array dataArray[1:20] needs each element set to zero.
Part (a)
Write a pseudocode routine that sets each element to zero. Use the most suitable loop
structure.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Why this question appears here
98% 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
