Computer Science · May / June 2022 · Paper 22 · Question 4
2210
As printed in the paper
The question as text
This algorithm checks the temperature of hot food being served to customers. START Counter 0 ounter Counter + 1 Error ((Hot + Cold) / Counter) * 100 Hot 0 Cold 0 Serve 0 Serve Serve + 1 INPUT Temp OUTPUT Error OUTPUT "Too Cold" OUTPUT "Too Hot" Is Temp = –1? Is Temp > 86? Is Temp < 63? END Hot Hot + 1 Cold Cold + 1 Yes No No No Yes Yes
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
4(a)[7]
4(b)[1]
4(c)[1]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

