Computer Science · May / June 2020 · Paper 21 · Question 5
2210
As printed in the paper
The question as text
The flowchart represents an algorithm. The predefined function DIV gives the value of the result of integer division, for example, y ← 9 DIV 4 gives y a value of 2 An input value of –1 ends the algorithm. START INPUT Value Yes Yes No No IS Value = -1 ? Calc1 Value DIV 2 END No OUTPUT Value IS Calc1 = Value / 2 ? IS Calc2 = Value / 3 ? Calc2 Value DIV 3 Yes
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
5(a)[4]
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.

