Skip to content
Android waitlistTry on iPad
Get started

Program Testing and Maintenance: CAIE A‑Level Computer Science questions

Every CAIE A-Level Computer Science exam question on 12.3 Program Testing and Maintenance, June 2024 and the specimen papers, with its mark scheme and examiner’s report.

Paper
All papers
Exam
All years
Calculations

198 questions

  1. Q5(a)

    June 2024 · Paper 2

    The whole paper ↗
    The start of question 5
  2. Q6(b)(i)

    Specimen · Paper 2

    The whole paper ↗
    The start of question 6
  3. Q6(b)(ii)

    Specimen · Paper 2

    The whole paper ↗
    The start of question 6
  4. Q6(b)(iii)

    Specimen · Paper 2

    The whole paper ↗
    The start of question 6
  5. Q6(b)(iv)

    Specimen · Paper 2

    The whole paper ↗
    The start of question 6
All 5 questions on Program Testing and Maintenance, as a list
  1. June 2024, Paper 2, Q5(a) (6 marks): Complete the trace table by dry running the procedure when it is called as follows: CALL Process("X3Y2W4") Count C L Index Result Data[1] Data[2] Data[3] [6]
  2. Specimen, Paper 2, Q6(b)(i) (1 mark): Give a valid password that can be used to check that the function returns TRUE under the correct conditions. Password1: [1]
  3. Specimen, Paper 2, Q6(b)(ii) (4 marks): Password1 is modified to test each rule separately. Give four modified passwords and justify your choice. Password to test rule 1: Reason: Password to test rule
  4. Specimen, Paper 2, Q6(b)(iii) (1 mark): When testing the ValidatePassword function it is necessary to test all possible paths through the code. State the name given to this type of validation testing.
  5. Specimen, Paper 2, Q6(b)(iv) (2 marks): A program consisting of several functions can be tested using a process known as ‘stub testing’. Explain this process. [2]

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.