Skip to content
TMUATry on iPad
Get started

Style

Games

Plunge GCSE English LiteratureFirst Principles A-Level MathsSlow Burn Maths puzzles

File handling: CAIE IGCSE Computer Science questions

CAIE IGCSE Computer Science past-paper questions on 8.3 File handling, 2017 to 2025, every variant, with mark schemes and examiner’s reports where available.

Getting your paper ready…

CAIE IGCSE Computer ScienceFile handling2,648 questions

Paper
All papers
Year
All years
Calculations
Difficulty
More filters
Exam boards
Cambridge IGCSE

Loading the full question list…

2,648 questions

More options
  1. Q9November 2025 · Paper 24 marksChallenge

    8.3 File handling

    1
    Original question 9: A school stores all the students’ attendance data in a file called Attendance.txt Write an algorithm in pseudocode to read a line of text from the file and stor

    Loading the question…

    The whole paper ↗
  2. Q9(b)(i)November 2025 (variant 3) · Paper 25 marksCore

    8.1 Programming concepts8.3 File handling

    2
    Setup for original question 9(b)(i)

    Loading the question setup…

    Original question 9(b)(i): Write pseudocode statements to: • define the procedure with the parameter • store the name of the person in the file. [5]

    Loading the question…

    The whole paper ↗
  3. Q2March 2025 · Paper 21 markWarm-up

    8.3 File handling

    3
    Original question 2: Tick (✓) one box to complete this sentence. The pseudocode to store a hotel name held in the variable Name to a text file is A READFILE Hotels.txt, Name B WRITE

    Loading the question…

    Your answer
    The whole paper ↗
  4. Q8(b)November 2024 · Paper 23 marksStretch

    8.3 File handling

    4
    Setup for original question 8(b)

    Loading the question setup…

    Original question 8(b): The accepted password, Password, is to be written to the file MyPassword.txt Write pseudocode to: • open the file • write the accepted password to the file • cl

    Loading the question…

    The whole paper ↗
  5. Q8(c)November 2024 · Paper 22 marksCore

    8.3 File handling

    5
    Original question 8(c): Explain why the accepted password needs to be stored in a file. [2]

    Loading the question…

    The whole paper ↗
  6. Q10November 2024 (variant 2) · Paper 26 marksChallenge

    8.3 File handling8.1 Programming concepts

    6
    Original question 10: The function LENGTH(X) calculates the length of a string X Write the pseudocode statements to: • allow a line of text to be input to an appropriate variable • s

    Loading the question…

    The whole paper ↗
  7. Q7(a)June 2024 · Paper 22 marksCore

    8.3 File handling

    7
    Original question 7(a): Outline why it is useful to store data in a file. [2]

    Loading the question…

    The whole paper ↗
  8. Q7(b)June 2024 · Paper 24 marksChallenge

    8.3 File handling

    8
    Original question 7(b): The function LENGTH(X) calculates the length of a string X Write the pseudocode statements to: • read the contents of the text file Quotation.txt into an approp

    Loading the question…

    The whole paper ↗
  9. Q7(b)June 2024 (variant 3) · Paper 23 marksCore

    8.3 File handling

    9
    Original question 7(b): Write the pseudocode statements to: • store the content of the variable you created in part (a) to a text file named "Subjects.txt" • close the text file at the

    Loading the question…

    The whole paper ↗
  10. Q3(b)November 2023 (variant 3) · Paper 22 marksCore

    8.3 File handling

    10
    Original question 3(b): Give two reasons for storing data in a file. 1 2 [2]

    Loading the question…

    The whole paper ↗
  11. Q9(b)June 2023 (variant 3) · Paper 25 marksCore

    8.3 File handling

    11
    Setup for original question 9(b)

    Loading the question setup…

    Original question 9(b): Write the pseudocode statements to: • allow a string to be input to the variable Saying • store the content of the variable Saying in a text file named "Quotati

    Loading the question…

    The whole paper ↗
All 11 questions on File handling, as a list
  1. November 2025, Paper 2, Q9 (4 marks): A school stores all the students’ attendance data in a file called Attendance.txt Write an algorithm in pseudocode to read a line of text from the file and stor
  2. November 2025 (variant 3), Paper 2, Q9(b)(i) (5 marks): Write pseudocode statements to: • define the procedure with the parameter • store the name of the person in the file. [5]
  3. March 2025, Paper 2, Q2 (1 mark): Tick (✓) one box to complete this sentence. The pseudocode to store a hotel name held in the variable Name to a text file is A READFILE Hotels.txt, Name B WRITE
  4. November 2024, Paper 2, Q8(b) (3 marks): The accepted password, Password, is to be written to the file MyPassword.txt Write pseudocode to: • open the file • write the accepted password to the file • cl
  5. November 2024, Paper 2, Q8(c) (2 marks): Explain why the accepted password needs to be stored in a file. [2]
  6. November 2024 (variant 2), Paper 2, Q10 (6 marks): The function LENGTH(X) calculates the length of a string X Write the pseudocode statements to: • allow a line of text to be input to an appropriate variable • s
  7. June 2024, Paper 2, Q7(a) (2 marks): Outline why it is useful to store data in a file. [2]
  8. June 2024, Paper 2, Q7(b) (4 marks): The function LENGTH(X) calculates the length of a string X Write the pseudocode statements to: • read the contents of the text file Quotation.txt into an approp
  9. June 2024 (variant 3), Paper 2, Q7(b) (3 marks): Write the pseudocode statements to: • store the content of the variable you created in part (a) to a text file named "Subjects.txt" • close the text file at the
  10. November 2023 (variant 3), Paper 2, Q3(b) (2 marks): Give two reasons for storing data in a file. 1 2 [2]
  11. June 2023 (variant 3), Paper 2, Q9(b) (5 marks): Write the pseudocode statements to: • allow a string to be input to the variable Saying • store the content of the variable Saying in a text file named "Quotati

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? CAIE IGCSE Computer Science past papers.

The Plumi iPad app also offers exam-style questions with AI feedback on your handwritten working.