Skip to content
TMUATry on iPad
Get started

Style

Games

Plunge GCSE English LiteratureFirst Principles A-Level MathsSlow Burn Maths puzzles

Arrays: CAIE IGCSE Computer Science questions

CAIE IGCSE Computer Science past-paper questions on 8.2 Arrays, 2017 to 2025, every variant, with mark schemes and examiner’s reports where available.

Getting your paper ready…

CAIE IGCSE Computer ScienceArrays2,648 questions

Paper
All papers
Year
All years
Calculations
Difficulty
More filters
Exam boards
Cambridge IGCSE

Loading the full question list…

2,648 questions

More options
  1. Q11November 2025 · Paper 215 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    1
    Original question 11: The scores for each competitor in an archery competition are recorded. The one-dimensional (1D) array CompetitorName[] is used to store the names of the competi

    Loading the question…

    The whole paper ↗
  2. Q2(a)November 2025 (variant 2) · Paper 25 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    2
    Setup for original question 2(a)

    Loading the question setup…

    Original question 2(a): Identify the line numbers of five errors in the pseudocode and suggest a correction for each error. Error 1 line number Correction 3 , , Error 2 lin

    Loading the question…

    The whole paper ↗
  3. Q2(b)(i)November 2025 (variant 2) · Paper 24 marksChallenge

    8.1 Programming concepts8.2 Arrays

    3
    Original question 2(b)(i): Complete the pseudocode for PROCEDURE NewData PROCEDURE NewData( ) FOR Row 1 TO FOR Column 1 TO 4 INPUT ENDPROCEDURE [4]

    Loading the question…

    The whole paper ↗
  4. Q5(c)November 2025 (variant 2) · Paper 24 marksChallenge

    8.2 Arrays

    4
    Setup for original question 5(c)

    Loading the question setup…

    Original question 5(c): The algorithm on page 6 requires the array CodeStore[] to be declared as a one‑dimensional (1D) string array with six elements that are initially set to the nul

    Loading the question…

    The whole paper ↗
  5. Q8November 2025 (variant 2) · Paper 215 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    5
    Original question 8: A program is required to test the fairness of the random number generator. The one‑dimensional (1D) array RandomNumber[] is used to store 100 000 random integer

    Loading the question…

    The whole paper ↗
  6. Q6(c)November 2025 (variant 3) · Paper 26 marksCore

    7 Algorithm design and problem-solving8.2 Arrays

    6
    Setup for original question 6(c)

    Loading the question setup…

    Original question 6(c): Write the algorithm in pseudocode. [6]

    Loading the question…

    The whole paper ↗
  7. Q10November 2025 (variant 3) · Paper 215 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    7
    Original question 10: A number game has two players. Random whole numbers are generated for each player. The numbers are compared and players are given points based on the result of

    Loading the question…

    The whole paper ↗
  8. Q3June 2025 · Paper 24 marksChallenge

    8.1 Programming concepts8.2 Arrays

    8
    Original question 3: The following pseudocode algorithm uses a count-controlled loop to read in 10 names and store them in the array Names[] FOR Count 1 TO 10 OUTPUT "Please enter a

    Loading the question…

    The whole paper ↗
  9. Q11June 2025 · Paper 215 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    9
    Original question 11: The one-dimensional (1D) array CompetitorName[] contains the names of 25 competitors in a tournament that includes five events. Another two-dimensional (2D) arr

    Loading the question…

    The whole paper ↗
  10. Q4(b)June 2025 (variant 2) · Paper 26 marksCore

    7 Algorithm design and problem-solving8.2 Arrays

    10
    Original question 4(b): Write the pseudocode for an algorithm to perform a double entry verification check, using the following criteria: • Input 10 numbers and store them in the array

    Loading the question…

    The whole paper ↗
  11. Q7(b)June 2025 (variant 2) · Paper 24 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    11
    Setup for original question 7(b)

    Loading the question setup…

    Original question 7(b): Explain how you would alter the flowchart in 7(a) so that it will individually store each accepted value as it is entered and then output all the numbers, one a

    Loading the question…

    The whole paper ↗
  12. Q8June 2025 (variant 3) · Paper 215 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    12
    Original question 8: A collector needs a video library system for a collection of videos stored on 4K Blu-ray discs, standard Blu-ray discs, DVD, or as digital downloads. The two-di

    Loading the question…

    The whole paper ↗
  13. Q10March 2025 · Paper 215 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    13
    Original question 10: A sports club uses a six-character alphanumeric membership code to identify each member of the club. The one-dimensional (1D) array MemberID[] is used to store

    Loading the question…

    The whole paper ↗
  14. Q6(a)November 2024 · Paper 23 marksStretch

    7 Algorithm design and problem-solving8.2 Arrays

    14
    Setup for original question 6(a)

    Loading the question setup…

    Original question 6(a): Complete the given pseudocode algorithm. [3]

    Loading the question…

    The whole paper ↗
  15. Q11November 2024 · Paper 215 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    15
    Original question 11: A running club has 200 members who compete in a 1-kilometre running competition every month. Members’ names are stored in the one-dimensional (1D) array MemberN

    Loading the question…

    The whole paper ↗
  16. Q12November 2024 (variant 2) · Paper 215 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    16
    Original question 12: A one-dimensional (1D) array Rooms[] contains the names of up to 20 rooms in a house. A two-dimensional (2D) array Dimensions[] is used to store the length, wid

    Loading the question…

    The whole paper ↗
  17. Q6(a)November 2024 (variant 3) · Paper 23 marksStretch

    7 Algorithm design and problem-solving8.2 Arrays

    17
    Setup for original question 6(a)

    Loading the question setup…

    Original question 6(a): Complete the given pseudocode algorithm. [3]

    Loading the question…

    The whole paper ↗
  18. Q12November 2024 (variant 3) · Paper 215 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    18
    Original question 12: Members of a litter picking group complete a litter pick every month. Members’ names are stored in one-dimensional (1D) array PickerName[] Each member stores th

    Loading the question…

    The whole paper ↗
  19. Q10June 2024 · Paper 215 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    19
    Original question 10: The one-dimensional (1D) array Clubs[] is used to store the names of 12 cricket clubs in a local sports league. The two-dimensional (2D) array Statistics[] is u

    Loading the question…

    The whole paper ↗
  20. Q11June 2024 (variant 2) · Paper 215 marksChallenge

    7 Algorithm design and problem-solving8.2 Arrays

    20
    Original question 11: A one-player game uses the two-dimensional (2D) array Grid[] to store the location of a secret cell to be found by the player in 10 moves. Each row and column h

    Loading the question…

    The whole paper ↗
All 107 questions on Arrays, as a list
  1. November 2025, Paper 2, Q11 (15 marks): The scores for each competitor in an archery competition are recorded. The one-dimensional (1D) array CompetitorName[] is used to store the names of the competi
  2. November 2025 (variant 2), Paper 2, Q2(a) (5 marks): Identify the line numbers of five errors in the pseudocode and suggest a correction for each error. Error 1 line number Correction 3 , , Error 2 lin
  3. November 2025 (variant 2), Paper 2, Q2(b)(i) (4 marks): Complete the pseudocode for PROCEDURE NewData PROCEDURE NewData( ) FOR Row 1 TO FOR Column 1 TO 4 INPUT ENDPROCEDURE [4]
  4. November 2025 (variant 2), Paper 2, Q5(c) (4 marks): The algorithm on page 6 requires the array CodeStore[] to be declared as a one‑dimensional (1D) string array with six elements that are initially set to the nul
  5. November 2025 (variant 2), Paper 2, Q8 (15 marks): A program is required to test the fairness of the random number generator. The one‑dimensional (1D) array RandomNumber[] is used to store 100 000 random integer
  6. November 2025 (variant 3), Paper 2, Q6(c) (6 marks): Write the algorithm in pseudocode. [6]
  7. November 2025 (variant 3), Paper 2, Q10 (15 marks): A number game has two players. Random whole numbers are generated for each player. The numbers are compared and players are given points based on the result of
  8. June 2025, Paper 2, Q3 (4 marks): The following pseudocode algorithm uses a count-controlled loop to read in 10 names and store them in the array Names[] FOR Count 1 TO 10 OUTPUT "Please enter a
  9. June 2025, Paper 2, Q11 (15 marks): The one-dimensional (1D) array CompetitorName[] contains the names of 25 competitors in a tournament that includes five events. Another two-dimensional (2D) arr
  10. June 2025 (variant 2), Paper 2, Q4(b) (6 marks): Write the pseudocode for an algorithm to perform a double entry verification check, using the following criteria: • Input 10 numbers and store them in the array
  11. June 2025 (variant 2), Paper 2, Q7(b) (4 marks): Explain how you would alter the flowchart in 7(a) so that it will individually store each accepted value as it is entered and then output all the numbers, one a
  12. June 2025 (variant 3), Paper 2, Q8 (15 marks): A collector needs a video library system for a collection of videos stored on 4K Blu-ray discs, standard Blu-ray discs, DVD, or as digital downloads. The two-di
  13. March 2025, Paper 2, Q10 (15 marks): A sports club uses a six-character alphanumeric membership code to identify each member of the club. The one-dimensional (1D) array MemberID[] is used to store
  14. November 2024, Paper 2, Q6(a) (3 marks): Complete the given pseudocode algorithm. [3]
  15. November 2024, Paper 2, Q11 (15 marks): A running club has 200 members who compete in a 1-kilometre running competition every month. Members’ names are stored in the one-dimensional (1D) array MemberN
  16. November 2024 (variant 2), Paper 2, Q12 (15 marks): A one-dimensional (1D) array Rooms[] contains the names of up to 20 rooms in a house. A two-dimensional (2D) array Dimensions[] is used to store the length, wid
  17. November 2024 (variant 3), Paper 2, Q6(a) (3 marks): Complete the given pseudocode algorithm. [3]
  18. November 2024 (variant 3), Paper 2, Q12 (15 marks): Members of a litter picking group complete a litter pick every month. Members’ names are stored in one-dimensional (1D) array PickerName[] Each member stores th
  19. June 2024, Paper 2, Q10 (15 marks): The one-dimensional (1D) array Clubs[] is used to store the names of 12 cricket clubs in a local sports league. The two-dimensional (2D) array Statistics[] is u
  20. June 2024 (variant 2), Paper 2, Q11 (15 marks): A one-player game uses the two-dimensional (2D) array Grid[] to store the location of a secret cell to be found by the player in 10 moves. Each row and column h
  21. June 2024 (variant 3), Paper 2, Q4(a) (4 marks): Identify the line numbers of the four errors in the pseudocode and suggest corrections. Error 1 line number Correction Error 2 line number Correction Error 3 li
  22. June 2024 (variant 3), Paper 2, Q4(b) (4 marks): Write the pseudocode that you could add to the end of this algorithm to output the contents of the array. Make sure that the output ends when the data in the ar
  23. June 2024 (variant 3), Paper 2, Q4(c) (4 marks): Explain how you could alter the original corrected algorithm to make sure that the number of elements being added to the array does not exceed the maximum size
  24. June 2024 (variant 3), Paper 2, Q9 (15 marks): A one-dimensional (1D) array Teams[] contains the names of 10 football teams in a local league. A two-dimensional (2D) array Results[] stores, for each team, th
  25. March 2024, Paper 2, Q3(a) (4 marks): Write an algorithm in pseudocode to input a number, MyNumber, and use a linear search to test if that number is stored in the array. If the number is found in t
  26. March 2024, Paper 2, Q3(b) (4 marks): Write an algorithm in pseudocode to sort the array Values[1:50] into ascending order using a bubble sort. [4]
  27. March 2024, Paper 2, Q11 (15 marks): Students in a class are recording the amount of time in minutes spent in front of a screen for each day of the week. The one-dimensional (1D) array StudentName[
  28. November 2023, Paper 2, Q10 (15 marks): Drama students put on a performance of a play for one evening. Seats in a small theatre can be booked for this performance. The theatre has 10 rows of 20 seats.
  29. November 2023 (variant 2), Paper 2, Q3(b) (4 marks): A one‑dimensional (1D) array called Temperatures[] has 25 elements beginning at index 1. It holds values that range between –20 and 100 inclusive. Write a pseud
  30. November 2023 (variant 2), Paper 2, Q4(a) (4 marks): Identify the four errors in the pseudocode and suggest corrections. Error 1 Correction Error 2 Correction Error 3 Correction Error 4 Correction [4]
  31. November 2023 (variant 2), Paper 2, Q4(b) (5 marks): Describe the changes you should make to the corrected algorithm to allow the name of a country to be input and to display only the stored cities from that count
  32. November 2023 (variant 2), Paper 2, Q11 (15 marks): A wood flooring company stores the names of up to 100 customers in a one‑dimensional (1D) array Customers[]. A two‑dimensional (2D) array Quotations[] stores de
  33. November 2023 (variant 3), Paper 2, Q10 (15 marks): A weather station takes temperature readings once an hour for a week. These temperatures are stored in a two-dimensional (2D) array Temperatures[] Each column c
  34. June 2023, Paper 2, Q2 (1 mark): Tick (ü) one box to show the name of the data structure used to store a collection of data of the same data type. A Array B Constant C Function D Variable [1]
  35. June 2023, Paper 2, Q11 (15 marks): A one-dimensional (1D) array Days[] contains the names of the days of the week. A two-dimensional (2D) array Readings[] is used to store 24 temperature readings
  36. June 2023 (variant 2), Paper 2, Q12 (15 marks): A two-dimensional (2D) array Account[] contains account holders’ names and passwords for a banking program. A 2D array AccDetails[] has three columns containing
  37. June 2023 (variant 3), Paper 2, Q11 (15 marks): A two-dimensional (2D) array Contacts[] is used to store names and telephone numbers. All the data is stored as strings. The array must have the capacity to sto
  38. March 2023, Paper 2, Q2(b) (5 marks): Write an algorithm in pseudocode, using a single loop, to output the average of 50 numbers that have been stored in the array Number[] [5]
  39. March 2023, Paper 2, Q11 (15 marks): The one-dimensional (1D) array TeamName[] contains the names of teams in a sports league. The two-dimensional (2D) array TeamPoints[] contains the points awarde
  40. November 2022, Paper 2, Q1(a)(i) (5 marks): Describe the arrays you have set up in Task 1 to record the members’ details. Include in your description the name, data type and sample data for each array. [5
  41. November 2022, Paper 2, Q1(a)(ii) (2 marks): Explain how your program for Task 1 populated the arrays with the members’ details. [2]
  42. November 2022, Paper 2, Q1(b) (2 marks): Explain how your program removed the members that have not paid their fees from the system in Task 3. [2]
  43. November 2022, Paper 2, Q2(a) (6 marks): Complete the pseudocode algorithm: 01 FOR Count 1 TO O2 Reading[Count] 0 03 NEXT Count 04 OUTPUT "Please enter next reading " 05 INPUT Value 06 WHILE Value <> -
  44. November 2022 (variant 2), Paper 2, Q1(a)(ii) (2 marks): Identify one array you could have used in Task 1 and describe its use. Array Use [2]
  45. November 2022 (variant 2), Paper 2, Q1(d) (3 marks): Explain how your program in Task 2 could be altered so that bookings can be made for any time over a four-week period instead of the current two-week period. An
  46. November 2022 (variant 3), Paper 2, Q1(a)(ii) (3 marks): Describe the array that you set up in Task 1 to record the customer details. Include the name, data type and sample data for the array in your description. [3]
  47. November 2022 (variant 3), Paper 2, Q2(a) (6 marks): Complete the pseudocode algorithm: 01 FOR Count 1 TO 02 Reading[Count] 0 03 NEXT Count 04 Count 1 05 OUTPUT "Please enter next reading " 06 INPUT Value 07 REPEA
  48. June 2022, Paper 2, Q1(a) (5 marks): Describe the data structures you could have used in Task 1. Your description should include types of data structure, names used for data structures, their uses
  49. June 2022, Paper 2, Q1(e) (4 marks): Explain how your program allows any one of the member or volunteer lists to be selected and displayed (part of Task 2). Any programming statements used in your
  50. June 2022 (variant 2), Paper 2, Q1(b) (3 marks): Explain how your program showed the days available for booking in Task 1. [3]
  51. June 2022 (variant 2), Paper 2, Q3(a) (3 marks): Describe a one-dimensional array. Include an example of an array declaration. [3]
  52. June 2022 (variant 2), Paper 2, Q3(b) (2 marks): Explain how indexing could be used to search for a value stored in a one-dimensional array. [2]
  53. June 2022 (variant 3), Paper 2, Q1(a) (4 marks): Identify one variable and one array you could have used for Task 1 or Task 2. Give the use for the variable and array. Variable Use Array Use [4]
  54. June 2022 (variant 3), Paper 2, Q1(e) (4 marks): Explain how your program selects a meeting room, finds and then outputs the days when it is available (part of Task 3). Any programming statements used in your
  55. March 2022, Paper 2, Q1(b) (4 marks): Describe how your program set the scores to zero before each round for Task 1. [4]
  56. November 2021, Paper 2, Q1(b) (4 marks): Describe the arrays that you have set up in Task 1 to record today’s data about the squash courts. [4]
  57. November 2021 (variant 2), Paper 2, Q1(a)(ii) (5 marks): Describe the arrays you could have used in Task 1. Include the name, data type, use and sample data for each array. [5]
  58. November 2021 (variant 2), Paper 2, Q1(d) (4 marks): Explain how your program could be changed to count and store the number of bookings made by each passenger. Then, after ten bookings have been made by a passeng
  59. November 2021 (variant 3), Paper 2, Q1(b) (4 marks): Describe the arrays that you have set up in Task 1 to record today’s data about the restaurant tables. [4]
  60. June 2021, Paper 2, Q1(a)(ii) (4 marks): Identify one variable and one array you could have used for Task 1. Explain the use of each one. Variable Use Array Use [4]
  61. June 2021, Paper 2, Q4(a) (3 marks): Describe what happens in this algorithm. [3]
  62. June 2021, Paper 2, Q4(b) (3 marks): Write the pseudocode to output the contents of the arrays Score[] and Grade[] along with suitable messages. [3]
  63. June 2021 (variant 2), Paper 2, Q1(a) (3 marks): Identify and give the data type and use of one array that you could have used for Task 1. Array Data type Use [3]
  64. June 2021 (variant 2), Paper 2, Q5(a) (3 marks): Write a pseudocode routine that sets each element to zero. Use the most suitable loop structure. [3]
  65. June 2021 (variant 3), Paper 2, Q1(a)(iii) (4 marks): Describe one array you could have used for Task 1. Include the name, data type, length, sample data and use for that array. [4]
  66. June 2021 (variant 3), Paper 2, Q4(b) (4 marks): Show how you could change the algorithm to store the individual scores in the array ScoreArray[], then find and print the average score once the scores have all
  67. November 2020, Paper 2, Q1(a) (3 marks): Identify one array that you could have used for Task 1. Give the data type and state the use of the array. Array Data type Use [3]
  68. November 2020 (variant 2), Paper 2, Q1(a)(i) (2 marks): Identify one array you could have used for Task 1 and state its purpose. Array Purpose [2]
  69. November 2020 (variant 2), Paper 2, Q4 (6 marks): This pseudocode algorithm allows 5000 numbers to be entered and stored in an array called Number. FOR Count 1 TO 5000 INPUT Number[Count] NEXT Count Extend and
  70. June 2020, Paper 2, Q1(a)(i) (4 marks): Identify two arrays you could have used for Task 1 and, in each case, state its purpose. Array 1 Purpose Array 2 Purpose [4]
  71. June 2020, Paper 2, Q4(b) (4 marks): Re-write the original pseudocode so that it terminates correctly and also prevents numbers below 100 from being stored in the array Values[ ] [4]
  72. June 2020 (variant 2), Paper 2, Q5 (3 marks): Arrays are data structures used in programming. Explain what is meant by the terms dimension and index in an array. Use examples of arrays in your explanations.
  73. March 2020, Paper 2, Q2(a) (4 marks): An algorithm has been written in pseudocode to input 50 numbers. Positive numbers are stored in the array PosNum[ ]. Negative numbers are stored in the array Ne
  74. November 2019, Paper 2, Q1(b) (2 marks): Describe how arrays could be used to store the data about the types and price per square metre of the stone slabs for Task 1. [2]
  75. November 2019, Paper 2, Q4(a) (6 marks): Complete the trace table for this algorithm using the given input data. Index 0 FOR Count 0 TO 7 INPUT Value IF Value > 50 THEN PassMarks[Index] Value Index Ind
  76. November 2019 (variant 2), Paper 2, Q1(a)(i) (5 marks): Describe the data structures that you have used to store the data for the concrete slabs in Task 1, include the name, data type and use for each data structure.
  77. November 2019 (variant 2), Paper 2, Q6 (6 marks): Explain why constants, variables and arrays are used in programming. Constants Variables Arrays [6]
  78. November 2019 (variant 3), Paper 2, Q1(a) (4 marks): All variables, constants and other identifiers must have meaningful names. Name two arrays you could use for Task 1. State the data type and purpose of each one
  79. June 2019, Paper 2, Q1(a)(i) (3 marks): State one array you used for Task 1. State the data type and purpose of this array. Array Data type Purpose [3]
  80. June 2019, Paper 2, Q1(b) (6 marks): Write an algorithm to show how you calculated and output the number of late arrivals and the average number of minutes late for each bus route (part of Task 2),
  81. June 2019, Paper 2, Q1(d) (2 marks): Explain how you would alter your program in Task 1 to allow you to choose the number of weeks to enter data on bus arrival times. [2]
  82. June 2019 (variant 2), Paper 2, Q1(a) (5 marks): All variables, constants and other identifiers must have meaningful names. Describe the data structures you have used in Task 1 to record the items for sale. In
  83. June 2019 (variant 3), Paper 2, Q1(a) (5 marks): All variables, constants and other identifiers must have meaningful names. Describe the data structures you have used in Task 1 to record the items available th
  84. November 2018, Paper 2, Q1(a)(i) (4 marks): State the name, data type and use of two arrays you created for Task 1. Array 1 name Data type Use Array 2 name Data type Use [4]
  85. November 2018 (variant 2), Paper 2, Q1(a)(ii) (5 marks): Describe the arrays that you have used to store the data for the children in Task 1. Include the name, data type and its use for each array. [5]
  86. November 2018 (variant 3), Paper 2, Q1(a)(i) (6 marks): State the name, data type and use of three arrays you have created for Task 1. Array 1 name Data type Use Array 2 name Data type Use Array 3 name Data type Use
  87. June 2018, Paper 2, Q1(a)(i) (4 marks): You recorded information for the estimate of the cost of building a computer in Task 1. Give a data structure that you created for Task 1, its name, data type a
  88. June 2018, Paper 2, Q1(a)(ii) (4 marks): Describe the data structures that you have used in Task 2 to record the customer details. Include sample data in the description. [4]
  89. June 2018 (variant 2), Paper 2, Q1(a)(ii) (4 marks): Describe, with the aid of some sample data, the data structures that you have used to record the data for the cows in Task 1. [4]
  90. June 2018 (variant 2), Paper 2, Q1(d)(ii) (2 marks): Explain how you would extend your program for Task 3 to store the identity code number(s) of those cows with a yield of less than 12 litres of milk for four day
  91. June 2018 (variant 3), Paper 2, Q1(a)(i) (4 marks): State the name, data type and use of two arrays you created for Task 1. Array 1 name Data type Use Array 2 name Data type Use [4]
  92. June 2018 (variant 3), Paper 2, Q3 (4 marks): This section of program code reads the contents of the array, totals the numbers and prints out the sum and average of the numbers. Assume the array is full. Co
  93. March 2018, Paper 2, Q1(a)(i) (2 marks): State the name and data structure that you have used to record student names in Task 1. Name Data structure [2]
  94. November 2017, Paper 2, Q1(a)(i) (3 marks): Declare suitable arrays for each of the planes to store time slots booked. [3]
  95. November 2017, Paper 2, Q1(d) (4 marks): Explain how your program checks and displays whether any of the planes are available at a given time of the day (Task 2). Any programming statements used must b
  96. November 2017, Paper 2, Q4(b) (3 marks): Write an algorithm in pseudocode, using a single loop, to print 50 names that have been stored in an array. [3]
  97. November 2017 (variant 2), Paper 2, Q3 (3 marks): The following diagram shows four data structures and four descriptions. Draw a line to connect each data structure to the correct description. Data structure De
  98. November 2017 (variant 3), Paper 2, Q1(a)(i) (3 marks): Declare suitable arrays for each of the planes to store time slots booked. [3]
  99. November 2017 (variant 3), Paper 2, Q1(d) (4 marks): Explain how your program checks and displays whether any of the planes are available at a given time of the day (Task 2). Any programming statements used must b
  100. November 2017 (variant 3), Paper 2, Q4(b) (3 marks): Write an algorithm in pseudocode, using a single loop, to print 50 names that have been stored in an array. [3]
  101. June 2017, Paper 2, Q1(a)(ii) (2 marks): Name two arrays you used for Task 2 and state the purpose of each one. Array 1 Purpose Array 2 Purpose [2]
  102. June 2017, Paper 2, Q5(a) (2 marks): Describe the purpose of each statement in this algorithm. FOR I 1 TO 300 INPUT Name[I] NEXT I [2]
  103. June 2017 (variant 3), Paper 2, Q1(a)(ii) (2 marks): Name two arrays you used for Task 2 and state the purpose of each one. Array 1 Purpose Array 2 Purpose [2]
  104. June 2017 (variant 3), Paper 2, Q5(a) (2 marks): Describe the purpose of each statement in this algorithm. FOR I 1 TO 300 INPUT Name[I] NEXT I [2]
  105. March 2017, Paper 2, Q1(a)(i) (1 mark): Declare the array used to store the reaction times for the whole school. [1]
  106. March 2017, Paper 2, Q1(a)(ii) (1 mark): Change this declaration so the array can only hold records for a sample of 50 students. [1]
  107. March 2017, Paper 2, Q1(a)(iii) (2 marks): Explain why an array is an effective data structure for storing the reaction time records. [2]

Questions, mark schemes and examiner’s reports are © Cambridge University Press & Assessment, from their published past papers. Plumi isn’t affiliated with any exam board. Want whole papers? CAIE IGCSE Computer Science past papers.

The Plumi iPad app also offers exam-style questions with AI feedback on your handwritten working.