Past-paper question · 2024 October-November · Paper 23 · Q2(b)

Question 2(b) 2024 · October-November · Paper 23 · 2 marks

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

Official answer for Question 2

Part (b)

✓
MP1
✓
Construct: Iteration / Repetition

Question 2

✓
MP2
✓
Use: To loop through all 100 inputs // To loop 100 times
✓
ALTERNATIVE:
✓
MP1
✓
Construct: Selection
✓
MP2
✓
Use: To test whether the value input is positive
✓
Question
✓
Answer
✓
Marks

Mark scheme 9618_w24_ms_23.pdf →

Show text version of question

Question 2

Part (b)

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 (b)

The algorithm requires the use of basic constructs. One of these is sequence.

Identify one other basic construct required by the algorithm and describe how it is used.

Construct ..................................................................................................................................

Use ...........................................................................................................................................

...................................................................................................................................................

[2]

Question 4

, ,

Topic relevance

Why this question appears here

98% assigned-topic match · Programming › Constructs

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

Keep practising this topic