Question 1
0478 Paper 2 — style2 marksA program stores the maximum number of players in a team, which is fixed at 11. Write 2 marks of 0478 pseudocode that declares this as a constant and a separate INTEGER variable PlayerCount initialised to 0.
Model answer
CONSTANT MaxPlayers = 11
DECLARE PlayerCount : INTEGER
PlayerCount ← 0
Why this scores
AO2. 1 mark: CONSTANT used for the fixed value 11. 1 mark: PlayerCount declared as INTEGER and set to 0. Using a plain variable for the fixed 11 (e.g. MaxPlayers ← 11) loses the constant mark.