Computer Science · May / June 2020 · Paper 22 · Question 4
2210
As printed in the paper
The question as text
This flowchart inputs the points won and the points lost when playing a game. The difference between the points won and lost is calculated and depending on the result the player can: move up to the next level, stay at the same level, or move down to the previous level. The flowchart finishes when the input for points won is –1. START INPUT PointsWon, PointsLost END Yes Yes Yes No No No OUTPUT "Keep on trying" OUTPUT "Sorry move down" Difference PointsWon - PointsLost IS PointsWon = –1 ? IS Difference > = 1000 ? IS Difference < 0 ? OUTPUT "Well done move up"
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
4(a)[3]
4(b)[3]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

