Question 2(b) 2022 · February-March · Paper 22 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 2
Part (b)
Question 4
Show text version of question
Question 2
Part (b)
Question 2
An algorithm has been written to:
- input the ages of 100 students
- count and output the number of students aged 7 and under 12
- count and output the number of students aged 12 and under 18
- count and output the number of students aged 18 and over.
Part (b)
Write the extra pseudocode statements that are needed to count and output the number of
students under the age of 7. Use the variable CountUnder7; assume CountUnder7 has already been set to zero.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Question 9
Why this question appears here
98% 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 0478_m22_qp_22.pdf
