Question 5(b) 2025 · October-November · Paper 23 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 5
Part (b)
Question 2
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 .................................................................................................................................
...................................................................................................................................................
* 0000800000006 * DFD
Question 6
, ,
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 0478_w25_qp_23.pdf
