Question 10
AQA Computer Science November 2021 Paper 1 (7517/1)A level2 marks
On the specification
- 10.1
- 3.1 Fundamentals of programming
- 10.2
- 3.1 Fundamentals of programming
Question text
10 The LoadGame subroutine uses exception handling to prevent potential runtime errors. An example of an event that could cause a runtime error when executing the LoadGame subroutine would be trying to open a file that does not exist. 10.1 Describe another event that could cause a runtime error when executing the LoadGame subroutine. [1 mark] 10.2 State the identifier of another subroutine that uses exception handling. [1 mark]