Question 1 Report
Fig. 1 shows part of a game program's state diagram. The player begins in the PLAYING state. A pause command can move the game to PAUSED; a resume command returns it to play.
(a) When the player uses the pause command, state the new game state. [1]
(b) Explain why the program should ignore movement commands while in the PAUSED state. [1]
(c) When resume is selected, state the state used for the next player turn. [1]
(a) The pause transition leads from PLAYING to PAUSED. [1]
(b) Movement commands should be ignored while paused so that the player's position does not change and the game does not continue during the pause. [1]
(c) The resume transition returns the game to PLAYING, so this is the state for the next player turn. [1]
Everything you need to excel in your exams