Skip to content
Android waitlistTry on iPad
Get started

File Processing and Exception Handling: CAIE A‑Level Computer Science questions

Every CAIE A-Level Computer Science exam question on 20.2 File Processing and Exception Handling, June 2024 and the specimen papers, with its mark scheme and examiner’s report.

Paper
All papers
Exam
All years
Calculations

198 questions

  1. The start of question 2
  2. The start of question 3
  3. Q3(d)(i)

    Specimen · Paper 4

    The whole paper ↗The code files (zip) ↓
    The start of question 3
  4. The start of question 3
All 4 questions on File Processing and Exception Handling, as a list
  1. June 2024, Paper 4, Q2(b) (7 marks): The text file Trees.txt stores data about 9 trees. The data in the file is stored in the format: Tree name,Height growth each year,Maximum height,Maximum width,
  2. Specimen, Paper 4, Q3(c) (8 marks): Write program code for a function, ReadFile, which: • asks the user to input a filename • reads the data from the text file into QueueData. The function returns
  3. Specimen, Paper 4, Q3(d)(i) (4 marks): The main program calls ReadFile. ReadFile outputs an appropriate message to identify if: • the text file could not be found • the queue was full • all items wer
  4. Specimen, Paper 4, Q3(d)(ii) (3 marks): You have two text files DataToAdd.txt and SecondData.txt. Use the filenames below as input to test your program: • DataToAdd.txt • SecondData.txt • ThirdData.tx

Questions, mark schemes and examiner’s reports are © Cambridge University Press & Assessment, from their published past papers. Plumi isn’t affiliated with any exam board. Want whole papers? Full past papers.

Rather write your answers by hand on iPad? Plumi marks them against the same mark schemes.