Cambridge A2 Level Computer Science 9618 · 20.2 File Processing and Exception Handling

Q32 · 9618/31/O/N/25 Q10

Worked solution from the Further Programming Paper 3 Advanced Theory booklet, Part 2 of 2.

Q329618/31/O/N/25original Q10Structured · 3 marks
Question 10 from 9618/31/O/N/25

Worked solution

Explain what it is, then give one cause.

Write: exception handling is a process that responds to unwanted or unexpected events when a program runs [1]

... so that the program does not stop (crash) unexpectedly [1]

Example of a cause (any one): a programming error, a user error (such as typing letters where a number is needed), or hardware failure such as losing connection to a printer [1]

KEY IDEAException handling responds to unexpected events so the program keeps running instead of crashing.
TOTAL 3 marks

Official mark scheme

Mark scheme for 9618/31/O/N/25 question 10
VIDEO
▶ Whole paper

Video solution of the whole paper · by Zafar Ali Khan (ZAK). Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.