A Level 9618 · Paper 3 · 20.2
File Processing and Exception Handling
Reading and writing files in code, and handling errors so a program does not crash. Try the past-paper questions, then check the mark scheme.
Past papers from June 2022 to June 202612 questions · 64 marks
In this subtopic
- Opening a file to read, write or append, and closing it
- Reading and writing records in serial, sequential and random files
- What an exception is, and when to handle one
- Writing exception handling code
Notes for 20.2 are on the way.
The past-paper questions and the mark scheme for this subtopic are ready now.
Past-paper questions and mark schemes © Cambridge University Press & Assessment. Compiled for revision by Zain Merchant.
Past-paper questions and mark schemes © Cambridge University Press & Assessment. Compiled for revision by Zain Merchant.
Try the questions first.
Write your answers, then check them against the mark scheme. Your choice is remembered on this device.