Representing algorithms: AQA GCSE Computer Science questions
Every AQA GCSE Computer Science exam question on 3.1.1 Representing algorithms, 2022–2025, with its mark scheme and examiner’s report.
Paper
All papers
Exam
All years
Calculations
Q01.4
The whole paper ↗Q07.1
The whole paper ↗Q07.2
The whole paper ↗Q07.3
The whole paper ↗Q08.1
The whole paper ↗Q11.1
The whole paper ↗Q11.2
The whole paper ↗Q11.3
The whole paper ↗Q11.4
The whole paper ↗Q01.4
The whole paper ↗Q07.1
The whole paper ↗Q07.2
The whole paper ↗Q07.3
The whole paper ↗Q08.1
The whole paper ↗Q11.1
The whole paper ↗Q11.2
The whole paper ↗Q11.3
The whole paper ↗Q11.4
The whole paper ↗Q01.4
The whole paper ↗Q07.1
The whole paper ↗
All 138 questions on Representing algorithms, as a list
- June 2025, Paper 1 (C#), Q01.4 (4 marks): Complete the trace table for the program in Figure 1. You may not need to use all the rows in the table. [4 marks] a b c Output
- June 2025, Paper 1 (C#), Q07.1 (1 mark): Describe the purpose of the subroutine in Figure 7. [1 mark]
- June 2025, Paper 1 (C#), Q07.2 (2 marks): The subroutine in Figure 7 is called using testSub(10) Complete the table to show the values output. [2 marks] Program Code Output OUTPUT number OUTPUT x
- June 2025, Paper 1 (C#), Q07.3 (1 mark): The subroutine in Figure 7 is called using testSub(8) State the value returned. [1 mark]
- June 2025, Paper 1 (C#), Q08.1 (5 marks): Complete the trace table for the algorithm shown in Figure 8. You may not need to use all the rows in the table. [5 marks] b1 b2 new i
- June 2025, Paper 1 (C#), Q11.1 (1 mark): The subroutine call findLetter("system", "s", "*y**em") is made. What is the value of the variable letter when line 4 is first executed? Shade one lozenge. [1 m
- June 2025, Paper 1 (C#), Q11.2 (1 mark): The subroutine call findLetter("system", "s", "*y**em")is made. What is the value of the variable newHidden when line 7 is first executed? Shade one lozenge. [1
- June 2025, Paper 1 (C#), Q11.3 (1 mark): The subroutine call findLetter("system", "s", "*y**em") is made. Identify how many times the loop would iterate. Shade one lozenge. [1 mark] A 1 B 2 C 6 D 7
- June 2025, Paper 1 (C#), Q11.4 (1 mark): The subroutine call findLetter("system", "s", "*y**em") is made. What value is returned? Shade one lozenge. [1 mark] A s B sy*tem C sys*em D system DO NOT WRITE
- June 2025, Paper 1 (Python), Q01.4 (4 marks): Complete the trace table for the program in Figure 1. You may not need to use all the rows in the table. [4 marks] a b c Output
- June 2025, Paper 1 (Python), Q07.1 (1 mark): Describe the purpose of the subroutine in Figure 7. [1 mark]
- June 2025, Paper 1 (Python), Q07.2 (2 marks): The subroutine in Figure 7 is called using testSub(10) Complete the table to show the values output. [2 marks] Program Code Output OUTPUT number OUTPUT x
- June 2025, Paper 1 (Python), Q07.3 (1 mark): The subroutine in Figure 7 is called using testSub(8) State the value returned. [1 mark]
- June 2025, Paper 1 (Python), Q08.1 (5 marks): Complete the trace table for the algorithm shown in Figure 8. You may not need to use all the rows in the table. [5 marks] b1 b2 new i
- June 2025, Paper 1 (Python), Q11.1 (1 mark): The subroutine call findLetter("system", "s", "*y**em") is made. What is the value of the variable letter when line 4 is first executed? Shade one lozenge. [1 m
- June 2025, Paper 1 (Python), Q11.2 (1 mark): The subroutine call findLetter("system", "s", "*y**em")is made. What is the value of the variable newHidden when line 6 is first executed? Shade one lozenge. [1
- June 2025, Paper 1 (Python), Q11.3 (1 mark): The subroutine call findLetter("system", "s", "*y**em") is made. Identify how many times the loop would iterate. Shade one lozenge. [1 mark] A 1 B 2 C 6 D 7
- June 2025, Paper 1 (Python), Q11.4 (1 mark): The subroutine call findLetter("system", "s", "*y**em") is made. What value is returned? Shade one lozenge. [1 mark] A s B sy*tem C sys*em D system
- June 2025, Paper 1 (VB.NET), Q01.4 (4 marks): Complete the trace table for the program in Figure 1. You may not need to use all the rows in the table. [4 marks] a b c Output
- June 2025, Paper 1 (VB.NET), Q07.1 (1 mark): Describe the purpose of the subroutine in Figure 7. [1 mark]
- June 2025, Paper 1 (VB.NET), Q07.2 (2 marks): The subroutine in Figure 7 is called using testSub(10) Complete the table to show the values output. [2 marks] Program Code Output OUTPUT number OUTPUT x
- June 2025, Paper 1 (VB.NET), Q07.3 (1 mark): The subroutine in Figure 7 is called using testSub(8) State the value returned. [1 mark]
- June 2025, Paper 1 (VB.NET), Q08.1 (5 marks): Complete the trace table for the algorithm shown in Figure 8. You may not need to use all the rows in the table. [5 marks] b1 b2 new i
- June 2025, Paper 1 (VB.NET), Q11.1 (1 mark): The subroutine call findLetter("system", "s", "*y**em") is made. What is the value of the variable letter when line 4 is first executed? Shade one lozenge. [1 m
- June 2025, Paper 1 (VB.NET), Q11.2 (1 mark): The subroutine call findLetter("system", "s", "*y**em")is made. What is the value of the variable newHidden when line 6 is first executed? Shade one lozenge. [1
- June 2025, Paper 1 (VB.NET), Q11.3 (1 mark): The subroutine call findLetter("system", "s", "*y**em") is made. Identify how many times the loop would iterate. Shade one lozenge. [1 mark] A 1 B 2 C 6 D 7
- June 2025, Paper 1 (VB.NET), Q11.4 (1 mark): The subroutine call findLetter("system", "s", "*y**em") is made. What value is returned? Shade one lozenge. [1 mark] A s B sy*tem C sys*em D system
- June 2024, Paper 1 (C#), Q02.2 (1 mark): In the algorithm in Figure 2, what will be the output when the user input is 5? Shade one lozenge. [1 mark] A Almost B False C True D Unknown
- June 2024, Paper 1 (C#), Q02.3 (1 mark): Which value input by the user would result in True being output by the algorithm in Figure 2? Shade one lozenge. [1 mark] A -1 B 10 C 20 D 21
- June 2024, Paper 1 (C#), Q02.5 (1 mark): A user inputs a value into the algorithm in Figure 2. State one value that the user could input that would result in an output of Unknown [1 mark]
- June 2024, Paper 1 (C#), Q04.1 (1 mark): Define the term abstraction. [1 mark]
- June 2024, Paper 1 (C#), Q04.2 (1 mark): State the name for the process of breaking a problem down into sub-problems. [1 mark]
- June 2024, Paper 1 (C#), Q05 (3 marks): Figure 4 shows an algorithm, represented using pseudo-code. The algorithm calculates the total cost of hiring a hotel for a wedding. Figure 4 numberOfGuests U
- June 2024, Paper 1 (C#), Q08 (6 marks): Figure 6 shows an algorithm, represented using pseudo-code. Figure 6 days [10, 15, 4] sales [20, 33, 12] weeks [0, 0, 0] FOR i 0 TO 2 daysTotal days[i
- June 2024, Paper 1 (C#), Q10.1 (1 mark): State what will be displayed by the Console.WriteLine statement when the subroutine First is called with the values 3, 4 and 4 for the parameters p1, p2 and p3
- June 2024, Paper 1 (C#), Q10.2 (1 mark): State what will be displayed by the Console.WriteLine statement when the subroutine First is called with the values 3, 4 and 8 for the parameters p1, p2 and p3
- June 2024, Paper 1 (C#), Q12.5 (1 mark): 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), Q02.2 (1 mark): In the algorithm in Figure 2, what will be the output when the user input is 5? Shade one lozenge. [1 mark] A Almost B False C True D Unknown
- June 2024, Paper 1 (Python), Q02.3 (1 mark): Which value input by the user would result in True being output by the algorithm in Figure 2? Shade one lozenge. [1 mark] A -1 B 10 C 20 D 21
- June 2024, Paper 1 (Python), Q02.5 (1 mark): A user inputs a value into the algorithm in Figure 2. State one value that the user could input that would result in an output of Unknown [1 mark]
- June 2024, Paper 1 (Python), Q04.1 (1 mark): Define the term abstraction. [1 mark]
- June 2024, Paper 1 (Python), Q04.2 (1 mark): State the name for the process of breaking a problem down into sub-problems. [1 mark]
- June 2024, Paper 1 (Python), Q05 (3 marks): Figure 4 shows an algorithm, represented using pseudo-code. The algorithm calculates the total cost of hiring a hotel for a wedding. Figure 4 numberOfGuests U
- June 2024, Paper 1 (Python), Q08 (6 marks): Figure 6 shows an algorithm, represented using pseudo-code. Figure 6 days [10, 15, 4] sales [20, 33, 12] weeks [0, 0, 0] FOR i 0 TO 2 daysTotal days[i
- June 2024, Paper 1 (Python), Q10.1 (1 mark): State what will be displayed by the print statement when the subroutine First is called with the values 3, 4 and 4 for the parameters p1, p2 and p3 [1 mark]
- June 2024, Paper 1 (Python), Q10.2 (1 mark): State what will be displayed by the print statement when the subroutine First is called with the values 3, 4 and 8 for the parameters p1, p2 and p3 [1 mark]
- June 2024, Paper 1 (Python), Q12.5 (1 mark): 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), Q02.2 (1 mark): In the algorithm in Figure 2, what will be the output when the user input is 5? Shade one lozenge. [1 mark] A Almost B False C True D Unknown
- June 2024, Paper 1 (VB.NET), Q02.3 (1 mark): Which value input by the user would result in True being output by the algorithm in Figure 2? Shade one lozenge. [1 mark] A -1 B 10 C 20 D 21
- June 2024, Paper 1 (VB.NET), Q02.5 (1 mark): A user inputs a value into the algorithm in Figure 2. State one value that the user could input that would result in an output of Unknown [1 mark]
- June 2024, Paper 1 (VB.NET), Q04.1 (1 mark): Define the term abstraction. [1 mark]
- June 2024, Paper 1 (VB.NET), Q04.2 (1 mark): State the name for the process of breaking a problem down into sub-problems. [1 mark]
- June 2024, Paper 1 (VB.NET), Q05 (3 marks): Figure 4 shows an algorithm, represented using pseudo-code. The algorithm calculates the total cost of hiring a hotel for a wedding. Figure 4 numberOfGuests U
- June 2024, Paper 1 (VB.NET), Q08 (6 marks): Figure 6 shows an algorithm, represented using pseudo-code. Figure 6 days [10, 15, 4] sales [20, 33, 12] weeks [0, 0, 0] FOR i 0 TO 2 daysTotal days[i
- June 2024, Paper 1 (VB.NET), Q10.1 (1 mark): State what will be displayed by the Console.WriteLine statement when the subroutine First is called with the values 3, 4 and 4 for the parameters p1, p2 and p3
- June 2024, Paper 1 (VB.NET), Q10.2 (1 mark): State what will be displayed by the Console.WriteLine statement when the subroutine First is called with the values 3, 4 and 8 for the parameters p1, p2 and p3
- June 2024, Paper 1 (VB.NET), Q12.5 (1 mark): 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 2023, Paper 1 (C#), Q01.1 (2 marks): Define the term algorithm. [2 marks]
- June 2023, Paper 1 (C#), Q02.2 (1 mark): In the algorithm in Figure 2, what will be output when the user input is 10? Shade one lozenge. [1 mark] A 0 B 1 C 2 D 4
- June 2023, Paper 1 (C#), Q02.3 (1 mark): In the algorithm in Figure 2, what is the largest possible value of the variable counter when the user input is 36? Shade one lozenge. [1 mark] A 0 B 2 C 4 D 5
- June 2023, Paper 1 (C#), Q04.1 (3 marks): Complete the trace table using the program in Figure 3. [3 marks] numOne numTwo numThree Final output 5 6 –1 10 4 0 3 5 10
- June 2023, Paper 1 (C#), Q05 (3 marks): Figure 4 shows an algorithm presented as a flowchart. Figure 4 Complete the trace table for the algorithm in Figure 4. You may not need to use all the rows in t
- June 2023, Paper 1 (C#), Q10.1 (5 marks): Complete the trace table for the algorithm shown in Figure 9. You may not need to use all the rows in the table. [5 marks] count i person j result
- June 2023, Paper 1 (C#), Q10.2 (1 mark): How could the error in the algorithm in Figure 9 be corrected? Shade one lozenge. [1 mark] A Change line number 3 to: count -1 B Change line number 4 to: FOR
- June 2023, Paper 1 (Python), Q01.1 (2 marks): Define the term algorithm. [2 marks]
- June 2023, Paper 1 (Python), Q02.2 (1 mark): In the algorithm in Figure 2, what will be output when the user input is 10? Shade one lozenge. [1 mark] A 0 B 1 C 2 D 4
- June 2023, Paper 1 (Python), Q02.3 (1 mark): In the algorithm in Figure 2, what is the largest possible value of the variable counter when the user input is 36? Shade one lozenge. [1 mark] A 0 B 2 C 4 D 5
- June 2023, Paper 1 (Python), Q04.1 (3 marks): Complete the trace table using the program in Figure 3. [3 marks] numOne numTwo numThree Final output 5 6 –1 10 4 0 3 5 10
- June 2023, Paper 1 (Python), Q05 (3 marks): Figure 4 shows an algorithm presented as a flowchart. Figure 4 Complete the trace table for the algorithm in Figure 4. You may not need to use all the rows in t
- June 2023, Paper 1 (Python), Q10.1 (5 marks): Complete the trace table for the algorithm shown in Figure 9. You may not need to use all the rows in the table. [5 marks] count i person j result
- June 2023, Paper 1 (Python), Q10.2 (1 mark): How could the error in the algorithm in Figure 9 be corrected? Shade one lozenge. [1 mark] A Change line number 3 to: count -1 B Change line number 4 to: FOR
- June 2023, Paper 1 (VB.NET), Q01.1 (2 marks): Define the term algorithm. [2 marks]
- June 2023, Paper 1 (VB.NET), Q02.2 (1 mark): In the algorithm in Figure 2, what will be output when the user input is 10? Shade one lozenge. [1 mark] A 0 B 1 C 2 D 4
- June 2023, Paper 1 (VB.NET), Q02.3 (1 mark): In the algorithm in Figure 2, what is the largest possible value of the variable counter when the user input is 36? Shade one lozenge. [1 mark] A 0 B 2 C 4 D 5
- June 2023, Paper 1 (VB.NET), Q04.1 (3 marks): Complete the trace table using the program in Figure 3. [3 marks] numOne numTwo numThree Final output 5 6 –1 10 4 0 3 5 10
- June 2023, Paper 1 (VB.NET), Q05 (3 marks): Figure 4 shows an algorithm presented as a flowchart. Figure 4 Complete the trace table for the algorithm in Figure 4. You may not need to use all the rows in t
- June 2023, Paper 1 (VB.NET), Q10.1 (5 marks): Complete the trace table for the algorithm shown in Figure 9. You may not need to use all the rows in the table. [5 marks] count i person j result
- June 2023, Paper 1 (VB.NET), Q10.2 (1 mark): How could the error in the algorithm in Figure 9 be corrected? Shade one lozenge. [1 mark] A Change line number 3 to: count -1 B Change line number 4 to: FOR
- June 2022, Paper 1 (C#), Q01.2 (1 mark): Shade one lozenge that shows the output from the algorithm in Figure 1 when the user input is 4 [1 mark] A 0 B 2 C 4 D 8 E 16
- June 2022, Paper 1 (C#), Q02.1 (2 marks): Using Figure 3, complete the table. [2 marks] Input value of orderTotal Input value of deliveryDistance Output 55.5 2 35.0 5
- June 2022, Paper 1 (C#), Q06.1 (1 mark): Define the term abstraction. [1 mark]
- June 2022, Paper 1 (C#), Q06.2 (2 marks): A user will be able to register, log in and log out of the program. When registering, a new user will enter their details, before confirming their email address
- June 2022, Paper 1 (C#), Q10.1 (4 marks): Complete the trace table for the subroutine call calculate(50) You may not need to use all the rows in the table. [4 marks] n a b OUTPUT 50
- June 2022, Paper 1 (C#), Q10.2 (1 mark): State the value that will be output for the subroutine call calculate(1) [1 mark]
- June 2022, Paper 1 (C#), Q12.1 (6 marks): Complete the trace table for the algorithm shown in Figure 13. Some values have already been entered. You may not need to use all the rows in the table. [6 mark
- June 2022, Paper 1 (C#), Q12.2 (1 mark): State the purpose of the algorithm. [1 mark]
- June 2022, Paper 1 (Python), Q01.2 (1 mark): Shade one lozenge that shows the output from the algorithm in Figure 1 when the user input is 4 [1 mark] A 0 B 2 C 4 D 8 E 16
- June 2022, Paper 1 (Python), Q02.1 (2 marks): Using Figure 3, complete the table. [2 marks] Input value of orderTotal Input value of deliveryDistance Output 55.5 2 35.0 5
- June 2022, Paper 1 (Python), Q06.1 (1 mark): Define the term abstraction. [1 mark]
- June 2022, Paper 1 (Python), Q06.2 (2 marks): A user will be able to register, log in and log out of the program. When registering, a new user will enter their details, before confirming their email address
- June 2022, Paper 1 (Python), Q10.1 (4 marks): Complete the trace table for the subroutine call calculate(50) You may not need to use all the rows in the table. [4 marks] n a b OUTPUT 50
- June 2022, Paper 1 (Python), Q10.2 (1 mark): State the value that will be output for the subroutine call calculate(1) [1 mark]
- June 2022, Paper 1 (Python), Q12.1 (6 marks): Complete the trace table for the algorithm shown in Figure 13. Some values have already been entered. You may not need to use all the rows in the table. [6 mark
- June 2022, Paper 1 (Python), Q12.2 (1 mark): State the purpose of the algorithm. [1 mark]
- June 2022, Paper 1 (VB.NET), Q01.2 (1 mark): Shade one lozenge that shows the output from the algorithm in Figure 1 when the user input is 4 [1 mark] A 0 B 2 C 4 D 8 E 16
- June 2022, Paper 1 (VB.NET), Q02.1 (2 marks): Using Figure 3, complete the table. [2 marks] Input value of orderTotal Input value of deliveryDistance Output 55.5 2 35.0 5
- June 2022, Paper 1 (VB.NET), Q06.1 (1 mark): Define the term abstraction. [1 mark]
- June 2022, Paper 1 (VB.NET), Q06.2 (2 marks): A user will be able to register, log in and log out of the program. When registering, a new user will enter their details, before confirming their email address
- June 2022, Paper 1 (VB.NET), Q10.1 (4 marks): Complete the trace table for the subroutine call calculate(50) You may not need to use all the rows in the table. [4 marks] n a b OUTPUT 50
- June 2022, Paper 1 (VB.NET), Q10.2 (1 mark): State the value that will be output for the subroutine call calculate(1) [1 mark]
- June 2022, Paper 1 (VB.NET), Q12.1 (6 marks): Complete the trace table for the algorithm shown in Figure 13. Some values have already been entered. You may not need to use all the rows in the table. [6 mark
- June 2022, Paper 1 (VB.NET), Q12.2 (1 mark): State the purpose of the algorithm. [1 mark]
- Specimen, Paper 1 (C#), Q01.1 (2 marks): Define the term algorithm. [2 marks]
- Specimen, Paper 1 (C#), Q01.2 (3 marks): The following are computer science terms (labelled A – E). A assignment B data type C decomposition D efficiency E input For each of the definitions in the tabl
- Specimen, Paper 1 (C#), Q03.3 (1 mark): Shade one lozenge which shows how many times the subroutine DISPENSE_BISCUIT would be called if the user input is 'breakfast' in Figure 2. [1 mark] A 1 subrouti
- Specimen, Paper 1 (C#), Q03.5 (1 mark): State how many times the subroutine DISPENSE_BISCUIT will be called with the parameter 'chewies' if the user input is 'lunch' in Figure 2. [1 mark]
- Specimen, Paper 1 (C#), Q07.4 (6 marks): Complete the trace table for the algorithm shown in Figure 4. Some values have already been entered. [6 marks] arr swapsMade i t [0] [1] [2] 4 1 6 false
- Specimen, Paper 1 (C#), Q09.1 (3 marks): Draw the path of the robot through the grid below if the following program is executed (the robot starts in the square marked by the ↑ facing in the direction o
- Specimen, Paper 1 (C#), Q09.2 (3 marks): Draw the path of the robot through the grid below if the following program is executed (the robot starts in the square marked by the ↑ facing in the direction o
- Specimen, Paper 1 (C#), Q12.1 (1 mark): The developer needs to remove all of the unnecessary detail from the client’s request. Shade the lozenge next to the name for this process. [1 mark] A Abstracti
- Specimen, Paper 1 (C#), Q12.2 (2 marks): The developer has decided that the following two points are the only important details from the client’s request. • The charge is based on time and not how many
- Specimen, Paper 1 (C#), Q13.1 (3 marks): This is how the blocks A, B and C are arranged at the start. Draw the final arrangement of the blocks after the following algorithm has run. MOVE(0, 1) MOVE(0,
- Specimen, Paper 1 (C#), Q13.2 (3 marks): This is how the blocks A, B and C are arranged at the start. Draw the final arrangement of the blocks after the following algorithm has run. WHILE HEIGHT(0) > 1
- Specimen, Paper 1 (C#), Q17.1 (1 mark): State the output from the program in Figure 8 when the user enters the numbers 4 and 4 [1 mark]
- Specimen, Paper 1 (Python), Q01.1 (2 marks): Define the term algorithm. [2 marks]
- Specimen, Paper 1 (Python), Q01.2 (3 marks): The following are computer science terms (labelled A – E). A assignment B data type C decomposition D efficiency E input For each of the definitions in the tabl
- Specimen, Paper 1 (Python), Q03.3 (1 mark): Shade one lozenge which shows how many times the subroutine DISPENSE_BISCUIT would be called if the user input is 'breakfast' in Figure 2. [1 mark] A 1 subrouti
- Specimen, Paper 1 (Python), Q03.5 (1 mark): State how many times the subroutine DISPENSE_BISCUIT will be called with the parameter 'chewies' if the user input is 'lunch' in Figure 2. [1 mark]
- Specimen, Paper 1 (Python), Q07.4 (6 marks): Complete the trace table for the algorithm shown in Figure 4. Some values have already been entered. [6 marks] arr swapsMade i t [0] [1] [2] 4 1 6 false
- Specimen, Paper 1 (Python), Q09.1 (3 marks): Draw the path of the robot through the grid below if the following program is executed (the robot starts in the square marked by the ↑ facing in the direction o
- Specimen, Paper 1 (Python), Q09.2 (3 marks): Draw the path of the robot through the grid below if the following program is executed (the robot starts in the square marked by the ↑ facing in the direction o
- Specimen, Paper 1 (Python), Q12.1 (1 mark): The developer needs to remove all of the unnecessary detail from the client’s request. Shade the lozenge next to the name for this process. [1 mark] A Abstracti
- Specimen, Paper 1 (Python), Q12.2 (2 marks): The developer has decided that the following two points are the only important details from the client’s request. • The charge is based on time and not how many
- Specimen, Paper 1 (Python), Q13.1 (3 marks): This is how the blocks A, B and C are arranged at the start. Draw the final arrangement of the blocks after the following algorithm has run. MOVE(0, 1) MOVE(0,
- Specimen, Paper 1 (Python), Q13.2 (3 marks): This is how the blocks A, B and C are arranged at the start. Draw the final arrangement of the blocks after the following algorithm has run. WHILE HEIGHT(0) > 1
- Specimen, Paper 1 (Python), Q17.1 (1 mark): State the output from the program in Figure 8 when the user enters the numbers 4 and 4. [1 mark]
- Specimen, Paper 1 (VB.NET), Q01.1 (2 marks): Define the term algorithm. [2 marks]
- Specimen, Paper 1 (VB.NET), Q01.2 (3 marks): The following are computer science terms (labelled A – E). A assignment B data type C decomposition D efficiency E input For each of the definitions in the tabl
- Specimen, Paper 1 (VB.NET), Q03.3 (1 mark): Shade one lozenge which shows how many times the subroutine DISPENSE_BISCUIT would be called if the user input is 'breakfast' in Figure 2. [1 mark] A 1 subrouti
- Specimen, Paper 1 (VB.NET), Q03.5 (1 mark): State how many times the subroutine DISPENSE_BISCUIT will be called with the parameter 'chewies' if the user input is 'lunch' in Figure 2. [1 mark]
- Specimen, Paper 1 (VB.NET), Q07.4 (6 marks): Complete the trace table for the algorithm shown in Figure 4. Some values have already been entered. [6 marks] arr swapsMade i t [0] [1] [2] 4 1 6 false
- Specimen, Paper 1 (VB.NET), Q09.1 (3 marks): Draw the path of the robot through the grid below if the following program is executed (the robot starts in the square marked by the ↑ facing in the direction o
- Specimen, Paper 1 (VB.NET), Q09.2 (3 marks): Draw the path of the robot through the grid below if the following program is executed (the robot starts in the square marked by the ↑ facing in the direction o
- Specimen, Paper 1 (VB.NET), Q12.1 (1 mark): The developer needs to remove all of the unnecessary detail from the client’s request. Shade the lozenge next to the name for this process. [1 mark] A Abstracti
- Specimen, Paper 1 (VB.NET), Q12.2 (2 marks): The developer has decided that the following two points are the only important details from the client’s request. • The charge is based on time and not how many
- Specimen, Paper 1 (VB.NET), Q13.1 (3 marks): This is how the blocks A, B and C are arranged at the start. Draw the final arrangement of the blocks after the following algorithm has run. MOVE(0, 1) MOVE(0,
- Specimen, Paper 1 (VB.NET), Q13.2 (3 marks): This is how the blocks A, B and C are arranged at the start. Draw the final arrangement of the blocks after the following algorithm has run. WHILE HEIGHT(0) > 1
- Specimen, Paper 1 (VB.NET), Q17.1 (1 mark): State the output from the program in Figure 8 when the user enters the numbers 4 and 4 [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.