Cambridge International · IGCSE · 0478 · 2026-2028
8.3 File handling
Topic 8.3 of the Cambridge IGCSE Computer Science (0478) syllabus for 2026-2028, in 8 Programming. The syllabus lists 3 things you need to be able to do. Use them as your revision checklist.
What the syllabus asks you to do
Understand the purpose of storing data in a file to be used by a program
Open, close and use a file for reading and writing
Syllabus notes: Including: read and write single items of data; read and write a line of text
8.3.2Handling files
Syllabus notes: It is good practice to explicitly open a file, stating the mode of operation, before reading from or writing to it. OPENFILE <File identifier> FOR <File mode>. The following file modes are used: READ for data to be read from the file; WRITE for data to be written to the file. A new file will be created and any existing data in the file will be lost. Files should be closed when they are no longer needed using the CLOSEFILE command.
Syllabus points and notes are quoted from the Cambridge International Cambridge IGCSE Computer Science (0478) syllabus (2026-2028) for study purposes, each one checked word for word against the official document. TutorAura is not endorsed by Cambridge International.
How 0478 is examined
| Paper | Time | Marks | Weighting |
|---|---|---|---|
| Paper 1 Computer Systems no calculator | 1 hour 45 minutes | 75 | 50% |
| Paper 2 Algorithms, Programming and Logic no calculator | 1 hour 45 minutes | 75 | 50% |
Which paper tests which topic isn't fixed: any topic in your tier can come up on any of your papers.
Revise 8.3 with a tutor that knows your syllabusThe TutorAura AI tutor teaches to these exact 0478 syllabus points, explains each mistake one step at a time and sets exam-style questions. Free for 3 days, then free practice every day.
Start free