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
Q01.2
The whole paper ↗Q05.4
The whole paper ↗Q11.5
The whole paper ↗Q01.2
The whole paper ↗Q05.4
The whole paper ↗Q11.5
The whole paper ↗Q01.2
The whole paper ↗Q05.4
The whole paper ↗Q11.5
The whole paper ↗Q01.4
The whole paper ↗Q09.3
The whole paper ↗Q12.2
The whole paper ↗Q12.6
The whole paper ↗Q12.7
The whole paper ↗Q01.4
The whole paper ↗
All 96 questions on Programming concepts, as a list
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- June 2024, Paper 1 (C#), Q01.4 (1 mark): Describe what is meant by an assignment statement in a program. [1 mark]
- 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#
- 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
- 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
- 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
- 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
- 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
- June 2024, Paper 1 (Python), Q01.4 (1 mark): Describe what is meant by an assignment statement in a program. [1 mark]
- 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
- 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
- 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
- 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
- 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
- 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
- June 2024, Paper 1 (VB.NET), Q01.4 (1 mark): Describe what is meant by an assignment statement in a program. [1 mark]
- 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.
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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+
- 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
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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]
- 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
- 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
- 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
- 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
- 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.