Computer Science · Oct / Nov 2020 · Paper 22 · Question 5
2210
As printed in the paper
The question as text
This pseudocode represents an algorithm. REPEAT Flag 0 FOR Count 0 to 3 IF Num[Count] < Num[Count + 1] THEN Store Num[Count] Num[Count] Num[Count + 1] Num[Count + 1] Store Flag 1 ENDIF NEXT Count UNTIL Flag = 0
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
5(a)[5]
5(b)[2]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

