Past-paper question · 2025 October-November · Paper 23 · Q5(b)

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

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

Official answer for Question 5

Part (b)

✓
One mark for reason and one mark for correction

Question 2

✓
•
✓
the highest score is incorrect / algorithm cannot evaluate highest value if lowest evaluated
✓
•
✓
replace ELSE on line 08 with ENDIF and remove ENDIF on line 13 / remove nested IF and have single IF statements
✓
for Highest/Lowest
✓
2210/23
✓
Cambridge O Level – Mark Scheme
✓
October/November 2025
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_w25_ms_23.pdf →

Show text version of question

Question 5

Part (b)

Question 5

A program has been written in pseudocode to input five numbers between 1 and 900 inclusive and

store the highest number and the lowest number entered.

01 Lowest 900 02 Highest 1 03 FOR Count 1 TO 5 04 INPUT Number 05 IF Number < Lowest 06 THEN 07 Lowest Number 08 ELSE

09 IF Number > Highest 10 THEN 11 Highest Number 12 ENDIF 13 ENDIF 14 NEXT Count

Part (b)

The algorithm does not work correctly.

State the reason why the algorithm does not work as expected and explain how the algorithm could be corrected.

Any code used must be fully explained.

Reason .....................................................................................................................................

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

Correction .................................................................................................................................

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

[2]

* 0000800000006 * DFD

Question 6

, ,

Topic relevance

Why this question appears here

99% 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 2210_w25_qp_23.pdf

Keep practising this topic