Question 13

AQA Computer Science June 2025 Paper 1 (7516/1)AS3 marks

On the specification

3.1 Fundamentals of programming
Question text

13 This question refers to the subroutine PirateWalks. Explain why it is sometimes necessary to set ValidDirection to false after it has been set to true by the call to the CheckDirection subroutine. [3 marks]