Skip to content
Android waitlistTry on iPad

Programming concepts: AQA GCSE Computer Science questions

Every AQA GCSE Computer Science exam question on 3.2.2 Programming concepts, 2022–2025, with its mark scheme and examiner’s report.

Paper
All papers
Exam
All years
Calculations

740 questions

  1. Q01.2

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  2. Q03

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  3. Q05.4

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  4. Q11.5

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  5. Q01.2

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  6. Q03

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  7. Q05.4

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  8. Q11.5

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  9. Q01.2

    June 2025 · Paper 1 (VB.NET)

    The whole paper ↗
  10. Q03

    June 2025 · Paper 1 (VB.NET)

    The whole paper ↗
  11. Q05.4

    June 2025 · Paper 1 (VB.NET)

    The whole paper ↗
  12. Q11.5

    June 2025 · Paper 1 (VB.NET)

    The whole paper ↗
  13. Q01.4

    June 2024 · Paper 1 (C#)

    The whole paper ↗
  14. Q06

    June 2024 · Paper 1 (C#)

    The whole paper ↗
  15. Q09.3

    June 2024 · Paper 1 (C#)

    The whole paper ↗
  16. Q12.2

    June 2024 · Paper 1 (C#)

    The whole paper ↗
  17. Q12.6

    June 2024 · Paper 1 (C#)

    The whole paper ↗
  18. Q12.7

    June 2024 · Paper 1 (C#)

    The whole paper ↗
  19. Q15

    June 2024 · Paper 1 (C#)

    The whole paper ↗
  20. Q01.4

    June 2024 · Paper 1 (Python)

    The whole paper ↗
All 96 questions on Programming concepts, as a list
  1. June 2025, Paper 1 (C#), Q01.2 (1 mark): Which of the following is a false statement about the program in Figure 1? Shade one lozenge. [1 mark] A This program contains a comment. B This program uses as
  2. June 2025, Paper 1 (C#), Q03 (8 marks): Write a C# program that calculates the total cost of a netball coaching session for a group of students. The total cost is calculated as follows: • A booking fe
  3. June 2025, Paper 1 (C#), Q05.4 (5 marks): Rewrite the program in Figure 5 so that it achieves the same result but uses an iteration structure that contains only one Console.ReadLine()statement. Your ans
  4. June 2025, Paper 1 (C#), Q11.5 (10 marks): A C# program is being written to determine if a player wins or loses the word game. • The player wins if they correctly guess all of the letters in the word wit
  5. June 2025, Paper 1 (Python), Q01.2 (1 mark): Which of the following is a false statement about the program in Figure 1? Shade one lozenge. [1 mark] A This program contains a comment. B This program uses as
  6. June 2025, Paper 1 (Python), Q03 (8 marks): Write a Python program that calculates the total cost of a netball coaching session for a group of students. The total cost is calculated as follows: • A bookin
  7. June 2025, Paper 1 (Python), Q05.4 (5 marks): Rewrite the program in Figure 5 so that it achieves the same result but uses an iteration structure that contains only one input()statement. Your answer must be
  8. June 2025, Paper 1 (Python), Q11.5 (10 marks): A Python program is being written to determine if a player wins or loses the word game. • The player wins if they correctly guess all of the letters in the word
  9. June 2025, Paper 1 (VB.NET), Q01.2 (1 mark): Which of the following is a false statement about the program in Figure 1? Shade one lozenge. [1 mark] A This program contains a comment. B This program uses as
  10. June 2025, Paper 1 (VB.NET), Q03 (8 marks): Write a VB.NET program that calculates the total cost of a netball coaching session for a group of students. The total cost is calculated as follows: • A bookin
  11. June 2025, Paper 1 (VB.NET), Q05.4 (5 marks): Rewrite the program in Figure 5 so that it achieves the same result but uses an iteration structure that contains only one Console.ReadLine()statement. Your ans
  12. June 2025, Paper 1 (VB.NET), Q11.5 (10 marks): A VB.NET program is being written to determine if a player wins or loses the word game. • The player wins if they correctly guess all of the letters in the word
  13. June 2024, Paper 1 (C#), Q01.4 (1 mark): Describe what is meant by an assignment statement in a program. [1 mark]
  14. June 2024, Paper 1 (C#), Q06 (7 marks): A university is writing a program to calculate a student’s total mark for three essays. If any essays are handed in late, the total mark is reduced. Write a C#
  15. June 2024, Paper 1 (C#), Q09.3 (3 marks): Write an algorithm using pseudo-code to display the name of the most expensive book. The algorithm should: • compare the price of B1 and the price of B2 • outpu
  16. June 2024, Paper 1 (C#), Q12.2 (2 marks): 1 2 A program is being written to solve a sliding puzzle. • The sliding puzzle uses a 3 x 3 board. • The board contains eight tiles and one blank space. • Each
  17. June 2024, Paper 1 (C#), Q12.6 (4 marks): 1 2 A program is being written to solve a sliding puzzle. • The sliding puzzle uses a 3 x 3 board. • The board contains eight tiles and one blank space. • Each
  18. June 2024, Paper 1 (C#), Q12.7 (6 marks): 1 2 A program is being written to solve a sliding puzzle. • The sliding puzzle uses a 3 x 3 board. • The board contains eight tiles and one blank space. • Each
  19. June 2024, Paper 1 (C#), Q15 (8 marks): A programmer is writing a game. The game uses a row of cells represented as an array. Figure 20 shows an example. Figure 20 0 1 2 3 4 5 6 7 X X Figure 21 descri
  20. June 2024, Paper 1 (Python), Q01.4 (1 mark): Describe what is meant by an assignment statement in a program. [1 mark]
  21. June 2024, Paper 1 (Python), Q06 (7 marks): A university is writing a program to calculate a student’s total mark for three essays. If any essays are handed in late, the total mark is reduced. Write a Pyt
  22. June 2024, Paper 1 (Python), Q09.3 (3 marks): Write an algorithm using pseudo-code to display the name of the most expensive book. The algorithm should: • compare the price of B1 and the price of B2 • outpu
  23. June 2024, Paper 1 (Python), Q12.2 (2 marks): 1 2 A program is being written to solve a sliding puzzle. • The sliding puzzle uses a 3 x 3 board. • The board contains eight tiles and one blank space. • Each
  24. June 2024, Paper 1 (Python), Q12.6 (4 marks): 1 2 A program is being written to solve a sliding puzzle. • The sliding puzzle uses a 3 x 3 board. • The board contains eight tiles and one blank space. • Each
  25. June 2024, Paper 1 (Python), Q12.7 (6 marks): 1 2 A program is being written to solve a sliding puzzle. • The sliding puzzle uses a 3 x 3 board. • The board contains eight tiles and one blank space. • Each
  26. June 2024, Paper 1 (Python), Q15 (8 marks): A programmer is writing a game. The game uses a row of cells represented as a list. Figure 20 shows an example. Figure 20 0 1 2 3 4 5 6 7 X X Figure 21 describe
  27. June 2024, Paper 1 (VB.NET), Q01.4 (1 mark): Describe what is meant by an assignment statement in a program. [1 mark]
  28. June 2024, Paper 1 (VB.NET), Q06 (7 marks): A university is writing a program to calculate a student’s total mark for three essays. If any essays are handed in late, the total mark is reduced. Write a VB.
  29. June 2024, Paper 1 (VB.NET), Q09.3 (3 marks): Write an algorithm using pseudo-code to display the name of the most expensive book. The algorithm should: • compare the price of B1 and the price of B2 • outpu
  30. June 2024, Paper 1 (VB.NET), Q12.2 (2 marks): 1 2 A program is being written to solve a sliding puzzle. • The sliding puzzle uses a 3 x 3 board. • The board contains eight tiles and one blank space. • Each
  31. June 2024, Paper 1 (VB.NET), Q12.6 (4 marks): 1 2 A program is being written to solve a sliding puzzle. • The sliding puzzle uses a 3 x 3 board. • The board contains eight tiles and one blank space. • Each
  32. June 2024, Paper 1 (VB.NET), Q12.7 (6 marks): 1 2 A program is being written to solve a sliding puzzle. • The sliding puzzle uses a 3 x 3 board. • The board contains eight tiles and one blank space. • Each
  33. June 2024, Paper 1 (VB.NET), Q15 (8 marks): A programmer is writing a game. The game uses a row of cells represented as an array. Figure 20 shows an example. Figure 20 0 1 2 3 4 5 6 7 X X Figure 21 descri
  34. June 2023, Paper 1 (C#), Q02.1 (1 mark): Where is iteration first used in the algorithm in Figure 2? Shade one lozenge. [1 mark] A Line number 2 B Line number 4 C Line number 6 D Line number 11
  35. June 2023, Paper 1 (C#), Q07 (6 marks): A theme park charges £15 per person for a daily ticket. If there are six or more people in a group, the group is given a £5 discount. Write a C# program to calc
  36. June 2023, Paper 1 (C#), Q12.4 (3 marks): Figure 13 shows an algorithm, represented using pseudo-code, that should display currency names in reverse alphabetical order, starting with yen. There are erro
  37. June 2023, Paper 1 (C#), Q15 (8 marks): A group of people have a meal in a restaurant. Instead of one person paying for the whole meal, each person will pay for what they eat. Write a C# program that
  38. June 2023, Paper 1 (C#), Q16 (11 marks): Question 16 is about a dice game played against a computer. The aim of the game is to get as close to a score of 21 as you can, without going over 21. If your s
  39. June 2023, Paper 1 (Python), Q02.1 (1 mark): Where is iteration first used in the algorithm in Figure 2? Shade one lozenge. [1 mark] A Line number 2 B Line number 4 C Line number 6 D Line number 11
  40. June 2023, Paper 1 (Python), Q07 (6 marks): A theme park charges £15 per person for a daily ticket. If there are six or more people in a group, the group is given a £5 discount. Write a Python program to
  41. June 2023, Paper 1 (Python), Q12.4 (3 marks): Figure 13 shows an algorithm, represented using pseudo-code, that should display currency names in reverse alphabetical order, starting with yen. There are erro
  42. June 2023, Paper 1 (Python), Q15 (8 marks): A group of people have a meal in a restaurant. Instead of one person paying for the whole meal, each person will pay for what they eat. Write a Python program t
  43. June 2023, Paper 1 (Python), Q16 (11 marks): Question 16 is about a dice game played against a computer. The aim of the game is to get as close to a score of 21 as you can, without going over 21. If your s
  44. June 2023, Paper 1 (VB.NET), Q02.1 (1 mark): Where is iteration first used in the algorithm in Figure 2? Shade one lozenge. [1 mark] A Line number 2 B Line number 4 C Line number 6 D Line number 11
  45. June 2023, Paper 1 (VB.NET), Q07 (6 marks): A theme park charges £15 per person for a daily ticket. If there are six or more people in a group, the group is given a £5 discount. Write a VB.NET program to
  46. June 2023, Paper 1 (VB.NET), Q12.4 (3 marks): Figure 13 shows an algorithm, represented using pseudo-code, that should display currency names in reverse alphabetical order, starting with yen. There are erro
  47. June 2023, Paper 1 (VB.NET), Q15 (8 marks): A group of people have a meal in a restaurant. Instead of one person paying for the whole meal, each person will pay for what they eat. Write a VB.NET program t
  48. June 2023, Paper 1 (VB.NET), Q16 (11 marks): Question 16 is about a dice game played against a computer. The aim of the game is to get as close to a score of 21 as you can, without going over 21. If your s
  49. June 2022, Paper 1 (C#), Q01.1 (1 mark): Shade one lozenge that shows the line number where selection is first used in the algorithm in Figure 1. [1 mark] A Line number 1 B Line number 2 C Line number
  50. June 2022, Paper 1 (C#), Q01.3 (1 mark): Shade one lozenge that shows the line number where assignment is first used in the algorithm in Figure 1. [1 mark] A Line number 1 B Line number 2 C Line number
  51. June 2022, Paper 1 (C#), Q01.6 (1 mark): Figure 2 shows an implementation of the algorithm in Figure 1 using the C# programming language. • Line numbers are included but are not part of the program. Fi
  52. June 2022, Paper 1 (C#), Q07 (5 marks): Write a C# program to check if an email address has been entered correctly by a user. Your program must: • get the user to input an email address • get the user
  53. June 2022, Paper 1 (C#), Q08 (7 marks): Write a C# program that calculates the value of a bonus payment for an employee based on how many items they have sold and the number of years they have been em
  54. June 2022, Paper 1 (C#), Q10.3 (1 mark): The identifier for the variable b in Figure 9 was not a good choice. State a better identifier for this variable that makes the algorithm easier to read and und
  55. June 2022, Paper 1 (C#), Q10.4 (2 marks): A REPEAT…UNTIL iteration structure was used in Figure 9. Figure 9 has been included again below. Figure 9 SUBROUTINE calculate(n) a  n b  0 REPEAT a  a DIV 2
  56. June 2022, Paper 1 (Python), Q01.1 (1 mark): Shade one lozenge that shows the line number where selection is first used in the algorithm in Figure 1. [1 mark] A Line number 1 B Line number 2 C Line number
  57. June 2022, Paper 1 (Python), Q01.3 (1 mark): Shade one lozenge that shows the line number where assignment is first used in the algorithm in Figure 1. [1 mark] A Line number 1 B Line number 2 C Line number
  58. June 2022, Paper 1 (Python), Q01.6 (1 mark): Figure 2 shows an implementation of the algorithm in Figure 1 using the Python programming language. • Line numbers are included but are not part of the program
  59. June 2022, Paper 1 (Python), Q07 (5 marks): Write a Python program to check if an email address has been entered correctly by a user. Your program must: • get the user to input an email address • get the
  60. June 2022, Paper 1 (Python), Q08 (7 marks): Write a Python program that calculates the value of a bonus payment for an employee based on how many items they have sold and the number of years they have bee
  61. June 2022, Paper 1 (Python), Q10.3 (1 mark): The identifier for the variable b in Figure 9 was not a good choice. State a better identifier for this variable that makes the algorithm easier to read and und
  62. June 2022, Paper 1 (Python), Q10.4 (2 marks): A REPEAT…UNTIL iteration structure was used in Figure 9. Figure 9 has been included again below. Figure 9 SUBROUTINE calculate(n) a  n b  0 REPEAT a  a DIV 2
  63. June 2022, Paper 1 (VB.NET), Q01.1 (1 mark): Shade one lozenge that shows the line number where selection is first used in the algorithm in Figure 1. [1 mark] A Line number 1 B Line number 2 C Line number
  64. June 2022, Paper 1 (VB.NET), Q01.3 (1 mark): Shade one lozenge that shows the line number where assignment is first used in the algorithm in Figure 1. [1 mark] A Line number 1 B Line number 2 C Line number
  65. June 2022, Paper 1 (VB.NET), Q01.6 (1 mark): Figure 2 shows an implementation of the algorithm in Figure 1 using the VB.Net programming language. • Line numbers are included but are not part of the program
  66. June 2022, Paper 1 (VB.NET), Q07 (5 marks): Write a VB.Net program to check if an email address has been entered correctly by a user. Your program must: • get the user to input an email address • get the
  67. June 2022, Paper 1 (VB.NET), Q08 (7 marks): Write a VB.Net program that calculates the value of a bonus payment for an employee based on how many items they have sold and the number of years they have bee
  68. June 2022, Paper 1 (VB.NET), Q10.3 (1 mark): The identifier for the variable b in Figure 9 was not a good choice. State a better identifier for this variable that makes the algorithm easier to read and und
  69. June 2022, Paper 1 (VB.NET), Q10.4 (2 marks): A REPEAT…UNTIL iteration structure was used in Figure 9. Figure 9 has been included again below. Figure 9 SUBROUTINE calculate(n) a  n b  0 REPEAT a  a DIV 2
  70. Specimen, Paper 1 (C#), Q03.1 (1 mark): Shade one lozenge which shows the line number where selection is first used in the algorithm shown in Figure 2. [1 mark] A Line number 2 B Line number 4 C Line
  71. Specimen, Paper 1 (C#), Q03.2 (1 mark): Shade one lozenge which shows the line number where iteration is first used in the algorithm shown in Figure 2. [1 mark] A Line number 1 B Line number 8 C Line
  72. Specimen, Paper 1 (C#), Q04 (5 marks): A programmer has written a C# program that asks the user to input two integers and then output which of the two integers is the largest. Complete the program by
  73. Specimen, Paper 1 (C#), Q07.2 (2 marks): The identifier swapsMade is used in the algorithm shown in Figure 4. Explain why this is a better choice than using the identifier s. [2 marks]
  74. Specimen, Paper 1 (C#), Q07.3 (1 mark): Shade one lozenge to show which of the following contains the false statement about the algorithm in Figure 4. [1 mark] A The algorithm uses a named constant. B
  75. Specimen, Paper 1 (C#), Q13.3 (4 marks): Develop an algorithm using either pseudo-code or a flowchart that will move every block from column 0 to column 1. Your algorithm should work however many block
  76. Specimen, Paper 1 (C#), Q14 (1 mark): A programmer has written the C# program in Figure 5 to add up the numbers between one and five. Figure 5 int total = 0; for (int number = 1; number < 6; number+
  77. Specimen, Paper 1 (C#), Q15 (4 marks): A program has been written in C# to display all the odd integers between 1 and the largest odd number smaller than an integer entered by the user. The program i
  78. Specimen, Paper 1 (C#), Q18 (8 marks): Write a C# program that calculates an estimate of the braking distance in metres for a new model of go-kart that is travelling between 10 and 50 kilometres per
  79. Specimen, Paper 1 (Python), Q03.1 (1 mark): Shade one lozenge which shows the line number where selection is first used in the algorithm shown in Figure 2. [1 mark] A Line number 2 B Line number 4 C Line
  80. Specimen, Paper 1 (Python), Q03.2 (1 mark): Shade one lozenge which shows the line number where iteration is first used in the algorithm shown in Figure 2. [1 mark] A Line number 1 B Line number 8 C Line
  81. Specimen, Paper 1 (Python), Q04 (5 marks): A programmer has written a Python program that asks the user to input two integers and then output which of the two integers is the largest. Complete the progra
  82. Specimen, Paper 1 (Python), Q07.2 (2 marks): The identifier swapsMade is used in the algorithm shown in Figure 4. Explain why this is a better choice than using the identifier s. [2 marks]
  83. Specimen, Paper 1 (Python), Q07.3 (1 mark): Shade one lozenge to show which of the following contains the false statement about the algorithm in Figure 4. [1 mark] A The algorithm uses a named constant. B
  84. Specimen, Paper 1 (Python), Q13.3 (4 marks): Develop an algorithm using either pseudo-code or a flowchart that will move every block from column 0 to column 1. Your algorithm should work however many block
  85. Specimen, Paper 1 (Python), Q14 (1 mark): A programmer has written the Python program in Figure 5 to add up the numbers between one and five. Figure 5 total = 0 for number in range(1, 6): total = total
  86. Specimen, Paper 1 (Python), Q15 (4 marks): A program has been written in Python to display all the odd integers between 1 and the largest odd number smaller than an integer entered by the user. The progr
  87. Specimen, Paper 1 (Python), Q18 (8 marks): Write a Python program that calculates an estimate of the braking distance in metres for a new model of go-kart that is travelling between 10 and 50 kilometres
  88. Specimen, Paper 1 (VB.NET), Q03.1 (1 mark): Shade one lozenge which shows the line number where selection is first used in the algorithm shown in Figure 2. [1 mark] A Line number 2 B Line number 4 C Line
  89. Specimen, Paper 1 (VB.NET), Q03.2 (1 mark): Shade one lozenge which shows the line number where iteration is first used in the algorithm shown in Figure 2. [1 mark] A Line number 1 B Line number 8 C Line
  90. Specimen, Paper 1 (VB.NET), Q04 (5 marks): A programmer has written a VB.Net program that asks the user to input two integers and then output which of the two integers is the largest. Complete the progra
  91. Specimen, Paper 1 (VB.NET), Q07.2 (2 marks): The identifier swapsMade is used in the algorithm shown in Figure 4. Explain why this is a better choice than using the identifier s. [2 marks]
  92. Specimen, Paper 1 (VB.NET), Q07.3 (1 mark): Shade one lozenge to show which of the following contains the false statement about the algorithm in Figure 4. [1 mark] A The algorithm uses a named constant. B
  93. Specimen, Paper 1 (VB.NET), Q13.3 (4 marks): Develop an algorithm using either pseudo-code or a flowchart that will move every block from column 0 to column 1. Your algorithm should work however many block
  94. Specimen, Paper 1 (VB.NET), Q14 (1 mark): A programmer has written the VB.Net program in Figure 5 to add up the numbers between one and five. Figure 5 Dim total As Integer = 0 Dim number As Integer = 0
  95. Specimen, Paper 1 (VB.NET), Q15 (4 marks): A program has been written in VB.Net to display all the odd integers between 1 and the largest odd number smaller than an integer entered by the user. The progr
  96. Specimen, Paper 1 (VB.NET), Q18 (8 marks): Write a VB.Net program that calculates an estimate of the braking distance in metres for a new model of go-kart that is travelling between 10 and 50 kilometres

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.