9618/32/O/N/25 question 10: worked solution (October/November 2025, paper 32)

Show as plain text

Cambridge A2 Level Computer Science 9618 · 20.2 File Processing and Exception Handling Worked solution from the Further Programming Paper 3 Advanced Theory booklet, Part 2 of 2. Q33 9618/32/O/N/25 original Q10 Structured · 4 marks Worked solution (a) Write that you can use an exception handling routine to respond to unexpected events while the program runs [1] Use try ... except (catch) , or give an error message instead of stopping [1] (b) Any two causes: Coding (programming) errors [1] User errors , or hardware failure such as losing connection to a printer [1] KEY IDEA An exception handling routine such as try ... except stops an unexpected error from ending the program. TOTAL 4 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Zafar Ali Khan (ZAK). Tap the picture to open it on YouTube.