Past-paper question · 2023 October-November · Paper 22 · Q2(a)

Question 2(a) 2023 · October-November · Paper 22 · 5 marks

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

Official answer for Question 2

Part (a)

✓
Example Solution

Question 5

✓
One mark per point:
✓
1 Initialise Total to zero
✓
2 Check for only first input of 27 in a loop then attempt to sum values
✓
3 Loop until 0 input
✓
4 Sum values input (after input of first 27) in a loop
✓
5 Output Total after a reasonable attempt

Mark scheme 9618_w23_ms_22.pdf →

Show text version of question

Question 2

Part (a)

Question 2

An algorithm will:

1. input a sequence of integer values, one at a time 2. ignore all values until the value 27 is input, then sum the remaining values in the sequence 3. stop summing values when the value 0 is input and then output the sum of the values.

Part (a)

Draw a program flowchart to represent the algorithm.

START

END

[5]

Question 5

Topic relevance

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_w23_qp_22.pdf

Keep practising this topic