Skip to content
Android waitlistTry on iPad
Get started

Structured Programming: CAIE A‑Level Computer Science questions

Every CAIE A-Level Computer Science exam question on 11.3 Structured Programming, June 2024 and the specimen papers, with its mark scheme and examiner’s report.

Paper
All papers
Exam
All years
Calculations

198 questions

  1. Q4

    June 2024 · Paper 2

    The whole paper ↗
  2. Q6(a)

    June 2024 · Paper 2

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

    June 2024 · Paper 2

    The whole paper ↗
    The start of question 7
  4. Q8(a)

    June 2024 · Paper 2

    The whole paper ↗
    The start of question 8
  5. Q1(c)

    Specimen · Paper 4

    The whole paper ↗The code files (zip) ↓
    The start of question 1
  6. Q1(d)(i)

    Specimen · Paper 4

    The whole paper ↗The code files (zip) ↓
    The start of question 1
  7. Q2(b)

    Specimen · Paper 2

    The whole paper ↗
    The start of question 2
  8. Q4(a)

    Specimen · Paper 2

    The whole paper ↗
  9. Q4(b)

    Specimen · Paper 2

    The whole paper ↗
  10. Q6(a)

    Specimen · Paper 2

    The whole paper ↗
    The start of question 6
All 10 questions on Structured Programming, as a list
  1. June 2024, Paper 2, Q4 (6 marks): A global 1D array Data contains 100 elements of type integer. A function Check() will: • total the element values in odd index locations (1, 3, 5 ... 97, 99) •
  2. June 2024, Paper 2, Q6(a) (6 marks): A function IsRA() will: • take three sets of integers as parameters representing the coordinates of the three endpoints that form a triangle • return TRUE if th
  3. June 2024, Paper 2, Q7(b)(ii) (4 marks): Write the pseudocode module headers for Sub-A and Sub-B. Sub-A Sub-B [4]
  4. June 2024, Paper 2, Q8(a) (8 marks): Complete the pseudocode for module DeleteComment(). FUNCTION DeleteComment(Line : STRING) RETURNS STRING ENDFUNCTION [8]
  5. Specimen, Paper 4, Q1(c) (3 marks): Write a procedure to output all the contents of the array TheData to the screen. The procedure should use iteration. Pass the array into the procedure as a para
  6. Specimen, Paper 4, Q1(d)(i) (3 marks): The main program needs to output the data before the data has been sorted, and after the data has been sorted. Use the subroutines you declared in part (b) and
  7. Specimen, Paper 2, Q2(b) (3 marks): Examples of the data items that correspond to the arrows are given in the table. Arrow Data item A 234.56 B "Ms Roberta Smith" C TRUE Use pseudocode to write th
  8. Specimen, Paper 2, Q4(a) (6 marks): Parameter x is used to pass data to procedure MyProc in the following pseudocode: x ← 4 CALL MyProc(x) OUTPUT x PROCEDURE MyProc(x : INTEGER) DECLARE z : INTEGE
  9. Specimen, Paper 2, Q4(b) (2 marks): The pseudocode includes the use of parameters. State two other features in the pseudocode that support a modular approach to programming. 1 2 [2]
  10. Specimen, Paper 2, Q6(a) (9 marks): Write pseudocode to implement the function ValidatePassword. Refer to the Insert for the list of pseudocode functions and operators.

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.