Cambridge O Level Computer Science 2210 · 8.3 File handling

Q64 · 2210/22/M/J/23 Q5

Worked solution from the Programming Paper 2 Algorithms, Programming and Logic booklet, Part 3 of 3.

Q642210/22/M/J/23original Q5Structured · 5 marks
Question 5 from 2210/22/M/J/23

Worked solution

Circle any five of these file-handling operations: open, close, read, write, create. [5]

Calculate, count, sort, search, total, test, print, input and output are not file-handling operations.

KEY IDEAFile handling means creating, opening, reading, writing and closing a file.
TOTAL 5 marks

Official mark scheme

Mark scheme for 2210/22/M/J/23 question 5
VIDEO
▶ Whole paper

Video solution of the whole paper · by CS BY AQIB KHAN. 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.