Question 2(a) 2024 · October-November · Paper 23 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 2
Part (a)
Question 5
Show text version of question
Question 2
Part (a)
Question 2
An algorithm will:
1. prompt and input a sequence of 100 integer values, one at a time 2. sum the positive integers 3. output the result of the sum.
Part (a)
Write pseudocode for the algorithm.
Assume the value zero is neither positive nor negative.
You must declare all variables used in the algorithm.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Why this question appears here
71% assigned-topic match · Algorithm design and problem-solving › Algorithms
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 9618_w24_qp_23.pdf
