Skip to content
Android waitlistTry on iPad

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

740 questions

  1. Q01.4

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  2. Q07.1

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  3. Q07.2

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  4. Q07.3

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  5. Q08.1

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  6. Q11.1

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  7. Q11.2

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  8. Q11.3

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  9. Q11.4

    June 2025 · Paper 1 (C#)

    The whole paper ↗
  10. Q01.4

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  11. Q07.1

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  12. Q07.2

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  13. Q07.3

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  14. Q08.1

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  15. Q11.1

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  16. Q11.2

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  17. Q11.3

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  18. Q11.4

    June 2025 · Paper 1 (Python)

    The whole paper ↗
  19. Q01.4

    June 2025 · Paper 1 (VB.NET)

    The whole paper ↗
  20. Q07.1

    June 2025 · Paper 1 (VB.NET)

    The whole paper ↗
All 138 questions on Representing algorithms, as a list
  1. 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
  2. June 2025, Paper 1 (C#), Q07.1 (1 mark): Describe the purpose of the subroutine in Figure 7. [1 mark]
  3. 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
  4. 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]
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. June 2025, Paper 1 (Python), Q07.1 (1 mark): Describe the purpose of the subroutine in Figure 7. [1 mark]
  12. 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
  13. 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]
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. June 2025, Paper 1 (VB.NET), Q07.1 (1 mark): Describe the purpose of the subroutine in Figure 7. [1 mark]
  21. 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
  22. 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]
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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]
  31. June 2024, Paper 1 (C#), Q04.1 (1 mark): Define the term abstraction. [1 mark]
  32. 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]
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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]
  41. June 2024, Paper 1 (Python), Q04.1 (1 mark): Define the term abstraction. [1 mark]
  42. 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]
  43. 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
  44. 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
  45. 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]
  46. 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]
  47. 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
  48. 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
  49. 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
  50. 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]
  51. June 2024, Paper 1 (VB.NET), Q04.1 (1 mark): Define the term abstraction. [1 mark]
  52. 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]
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. June 2023, Paper 1 (C#), Q01.1 (2 marks): Define the term algorithm. [2 marks]
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. June 2023, Paper 1 (Python), Q01.1 (2 marks): Define the term algorithm. [2 marks]
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. June 2023, Paper 1 (VB.NET), Q01.1 (2 marks): Define the term algorithm. [2 marks]
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. June 2022, Paper 1 (C#), Q06.1 (1 mark): Define the term abstraction. [1 mark]
  82. 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
  83. 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
  84. June 2022, Paper 1 (C#), Q10.2 (1 mark): State the value that will be output for the subroutine call calculate(1) [1 mark]
  85. 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
  86. June 2022, Paper 1 (C#), Q12.2 (1 mark): State the purpose of the algorithm. [1 mark]
  87. 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
  88. 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
  89. June 2022, Paper 1 (Python), Q06.1 (1 mark): Define the term abstraction. [1 mark]
  90. 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
  91. 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
  92. June 2022, Paper 1 (Python), Q10.2 (1 mark): State the value that will be output for the subroutine call calculate(1) [1 mark]
  93. 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
  94. June 2022, Paper 1 (Python), Q12.2 (1 mark): State the purpose of the algorithm. [1 mark]
  95. 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
  96. 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
  97. June 2022, Paper 1 (VB.NET), Q06.1 (1 mark): Define the term abstraction. [1 mark]
  98. 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
  99. 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
  100. 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]
  101. 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
  102. June 2022, Paper 1 (VB.NET), Q12.2 (1 mark): State the purpose of the algorithm. [1 mark]
  103. Specimen, Paper 1 (C#), Q01.1 (2 marks): Define the term algorithm. [2 marks]
  104. 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
  105. 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
  106. 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]
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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,
  113. 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
  114. 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]
  115. Specimen, Paper 1 (Python), Q01.1 (2 marks): Define the term algorithm. [2 marks]
  116. 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
  117. 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
  118. 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]
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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,
  125. 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
  126. 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]
  127. Specimen, Paper 1 (VB.NET), Q01.1 (2 marks): Define the term algorithm. [2 marks]
  128. 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
  129. 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
  130. 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]
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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,
  137. 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
  138. 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.