Skip to content

Programming: AQA A‑Level Computer Science questions

Every AQA A-Level Computer Science exam question on 4.1.1 Programming, 2020–2025, with its mark scheme and examiner’s report.

Find questions561
Calculations

561 questions

  1. Q04.1

    June 2025 · Paper 1

    The whole paper ↗
    June 2025 Paper 1, question 04.1: Your PROGRAM SOURCE CODE. [12 marks]
  2. Q04.2

    June 2025 · Paper 1

    The whole paper ↗
    June 2025 Paper 1, question 04.2: SCREEN CAPTURE(S) showing the results of testing the program by entering the string: Hello t
  3. Q02

    June 2025 · AS Paper 1

    The whole paper ↗
    June 2025 AS Paper 1, question 02: Figure 3 and Figure 4 show two blocks of pseudo-code. Figure 3 INPUT X WHILE X > 0 X ← X – 1 ENDWHILE Figure 4 INPUT X REPEAT X ← X – 1 UNTIL X ≤ 0 Explain why
  4. Q03.1

    June 2025 · AS Paper 1

    The whole paper ↗
    June 2025 AS Paper 1, question 03.1: Your PROGRAM SOURCE CODE for Task 1. [8 marks]
  5. Q03.2

    June 2025 · AS Paper 1

    The whole paper ↗
    June 2025 AS Paper 1, question 03.2: SCREEN CAPTURE(S) showing the test described in Task 2. [1 mark]
  6. Q04.1

    June 2025 · AS Paper 1

    The whole paper ↗
    June 2025 AS Paper 1, question 04.1: Define the term subroutine. [1 mark]
  7. Q04.2

    June 2025 · AS Paper 1

    The whole paper ↗
    June 2025 AS Paper 1, question 04.2: State three advantages of using subroutines. [3 marks]
  8. Q04.3

    June 2025 · AS Paper 1

    The whole paper ↗
    June 2025 AS Paper 1, question 04.3: Describe how parameters improve the effectiveness of subroutines. [2 marks]
  9. Q01

    June 2024 · Paper 1

    The whole paper ↗
    June 2024 Paper 1, question 01: State three advantages of using subroutines. For each advantage, you must explain how the advantage is achieved. [3 marks]
  10. Q07.1

    June 2024 · Paper 1

    The whole paper ↗
    June 2024 Paper 1, question 07.1: 0 7 Write a program that gets the user to enter an integer. It should keep doing this until they enter a value greater than 0. The program should then tell the
  11. Q07.2

    June 2024 · Paper 1

    The whole paper ↗
    June 2024 Paper 1, question 07.2: 0 7 Write a program that gets the user to enter an integer. It should keep doing this until they enter a value greater than 0. The program should then tell the
  12. Q02.1

    June 2024 · AS Paper 1

    The whole paper ↗
    June 2024 AS Paper 1, question 02.1: State two differences between local and global variables. [2 marks]
  13. Q02.2

    June 2024 · AS Paper 1

    The whole paper ↗
    June 2024 AS Paper 1, question 02.2: Give two reasons why it is good practice to use local variables. [2 marks]
  14. Q04.1

    June 2024 · AS Paper 1

    The whole paper ↗
    June 2024 AS Paper 1, question 04.1: Your PROGRAM SOURCE CODE for Task 1. [8 marks]
  15. Q04.2

    June 2024 · AS Paper 1

    The whole paper ↗
    June 2024 AS Paper 1, question 04.2: SCREEN CAPTURE(S) showing the test described in Task 2. [1 mark]
  16. Q06.1

    June 2023 · Paper 1

    The whole paper ↗
    June 2023 Paper 1, question 06.1: Your PROGRAM SOURCE CODE [12 marks]
  17. Q06.2

    June 2023 · Paper 1

    The whole paper ↗
    June 2023 Paper 1, question 06.2: SCREEN CAPTURE(S) showing the results of testing the program by entering the strings BOIL, BRAisE, ROAST, BLANCH and PRESSURECOOK. You will need to execute your
  18. Q03

    June 2023 · AS Paper 1

    The whole paper ↗
    June 2023 AS Paper 1, question 03: Describe one difference between a global variable and a local variable. [2 marks]
  19. Q05.1

    June 2023 · AS Paper 1

    The whole paper ↗
    June 2023 AS Paper 1, question 05.1: Your PROGRAM SOURCE CODE for Task 1. [9 marks]
  20. Q05.2

    June 2023 · AS Paper 1

    The whole paper ↗
    June 2023 AS Paper 1, question 05.2: SCREEN CAPTURE(S) showing the tests described in Task 2. [1 mark] for the next section
All 34 questions on Programming, as a list
  1. June 2025, Paper 1, Q04.1 (12 marks): Your PROGRAM SOURCE CODE. [12 marks]
  2. June 2025, Paper 1, Q04.2 (1 mark): SCREEN CAPTURE(S) showing the results of testing the program by entering the string: Hello t
  3. June 2025, AS Paper 1, Q02 (2 marks): Figure 3 and Figure 4 show two blocks of pseudo-code. Figure 3 INPUT X WHILE X > 0 X ← X – 1 ENDWHILE Figure 4 INPUT X REPEAT X ← X – 1 UNTIL X ≤ 0 Explain why
  4. June 2025, AS Paper 1, Q03.1 (8 marks): Your PROGRAM SOURCE CODE for Task 1. [8 marks]
  5. June 2025, AS Paper 1, Q03.2 (1 mark): SCREEN CAPTURE(S) showing the test described in Task 2. [1 mark]
  6. June 2025, AS Paper 1, Q04.1 (1 mark): Define the term subroutine. [1 mark]
  7. June 2025, AS Paper 1, Q04.2 (3 marks): State three advantages of using subroutines. [3 marks]
  8. June 2025, AS Paper 1, Q04.3 (2 marks): Describe how parameters improve the effectiveness of subroutines. [2 marks]
  9. June 2024, Paper 1, Q01 (3 marks): State three advantages of using subroutines. For each advantage, you must explain how the advantage is achieved. [3 marks]
  10. June 2024, Paper 1, Q07.1 (12 marks): 0 7 Write a program that gets the user to enter an integer. It should keep doing this until they enter a value greater than 0. The program should then tell the
  11. June 2024, Paper 1, Q07.2 (1 mark): 0 7 Write a program that gets the user to enter an integer. It should keep doing this until they enter a value greater than 0. The program should then tell the
  12. June 2024, AS Paper 1, Q02.1 (2 marks): State two differences between local and global variables. [2 marks]
  13. June 2024, AS Paper 1, Q02.2 (2 marks): Give two reasons why it is good practice to use local variables. [2 marks]
  14. June 2024, AS Paper 1, Q04.1 (8 marks): Your PROGRAM SOURCE CODE for Task 1. [8 marks]
  15. June 2024, AS Paper 1, Q04.2 (1 mark): SCREEN CAPTURE(S) showing the test described in Task 2. [1 mark]
  16. June 2023, Paper 1, Q06.1 (12 marks): Your PROGRAM SOURCE CODE [12 marks]
  17. June 2023, Paper 1, Q06.2 (1 mark): SCREEN CAPTURE(S) showing the results of testing the program by entering the strings BOIL, BRAisE, ROAST, BLANCH and PRESSURECOOK. You will need to execute your
  18. June 2023, AS Paper 1, Q03 (2 marks): Describe one difference between a global variable and a local variable. [2 marks]
  19. June 2023, AS Paper 1, Q05.1 (9 marks): Your PROGRAM SOURCE CODE for Task 1. [9 marks]
  20. June 2023, AS Paper 1, Q05.2 (1 mark): SCREEN CAPTURE(S) showing the tests described in Task 2. [1 mark] for the next section
  21. June 2022, Paper 1, Q04.2 (1 mark): The subroutine G uses recursion. Explain what is meant by a recursive subroutine. [1 mark] Figure 3 (repeated) FUNCTION G(V, P) Visited[V]  True FOR EACH N IN
  22. June 2022, Paper 1, Q05.1 (12 marks): Your PROGRAM SOURCE CODE. [12 marks]
  23. June 2022, Paper 1, Q05.2 (1 mark): SCREEN CAPTURE(S) showing the results of three tests of the program by entering the strings persepolis, darius and xerxes. [1 mark] for the next section
  24. June 2022, AS Paper 1, Q03.1 (8 marks): Your PROGRAM SOURCE CODE for Task 1. [8 marks]
  25. June 2022, AS Paper 1, Q03.2 (1 mark): SCREEN CAPTURE(S) showing the test described in Task 2. [1 mark] for the next section
  26. November 2021, Paper 1, Q02.4 (1 mark): The subroutine shown in Figure 3 could have been written so that it used recursion instead of iteration. Explain what is meant by a recursive subroutine. [1 mar
  27. November 2021, Paper 1, Q02.5 (1 mark): Explain what is meant by a base case for a recursive subroutine. [1 mark]
  28. November 2021, Paper 1, Q02.6 (2 marks): If the subroutine shown in Figure 3 had been written using recursion, a stack frame would have been stored each time a recursive subroutine call was made. State
  29. November 2021, Paper 1, Q07.1 (12 marks): Your PROGRAM SOURCE CODE. [12 marks]
  30. November 2021, Paper 1, Q07.2 (1 mark): SCREEN CAPTURE(S) showing the result of testing the program by entering the number 600 [1 mark]
  31. November 2020, Paper 1, Q05.1 (12 marks): Your PROGRAM SOURCE CODE. [12 marks]
  32. November 2020, Paper 1, Q05.2 (1 mark): SCREEN CAPTURE(S) showing the result of testing the program by entering: • the number 6 then the numeric digits 0, 1, 2, 1, 2 and 1 • the number 5 then the nume
  33. November 2020, AS Paper 1, Q03.1 (9 marks): Your PROGRAM SOURCE CODE for Task 1. [9 marks]
  34. November 2020, AS Paper 1, Q03.2 (1 mark): SCREEN CAPTURE(S) showing the tests described in Task 2. [1 mark]

Questions, mark schemes and examiner’s reports are © AQA, 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.