Arrays: CAIE A‑Level Computer Science questions
Every CAIE A-Level Computer Science exam question on 10.2 Arrays, June 2024 and the specimen papers, with its mark scheme and examiner’s report.
Paper
All papers
Exam
All years
Calculations






Q5(b)
The whole paper ↗
Q5(c)
The whole paper ↗
Q5(d)
The whole paper ↗
All 11 questions on Arrays, as a list
- June 2024, Paper 4, Q1(a) (1 mark): The integer numbers will be stored in the global 1D array, DataStored, with space for up to 20 integers. The global variable NumberItems stores the quantity of
- June 2024, Paper 4, Q1(b) (5 marks): The procedure Initialise(): • prompts the user to input the quantity of numbers the user would like to enter • reads the input and validates it is between 1 and
- June 2024, Paper 4, Q1(c)(i) (2 marks): Write program code for the main program. Save your program. Copy and paste the program code into part 1(c)(i) in the evidence document. [2]
- June 2024, Paper 4, Q1(c)(ii) (2 marks): Test your program by inputting the following data in the order given: 30 5 3 9 4 1 2 Take a screenshot of the output(s). Save your program. Copy and paste the s
- June 2024, Paper 2, Q4 (6 marks): A global 1D array Data contains 100 elements of type integer. A function Check() will: • total the element values in odd index locations (1, 3, 5 ... 97, 99) •
- Specimen, Paper 4, Q1(a) (2 marks): Write a program to declare the array as a local variable, and initialise the values with the data given. Give the array the identifier TheData. Save your progra
- Specimen, Paper 4, Q1(c) (3 marks): Write a procedure to output all the contents of the array TheData to the screen. The procedure should use iteration. Pass the array into the procedure as a para
- Specimen, Paper 2, Q5(b) (3 marks): Write pseudocode to declare the Stock array. [3]
- Specimen, Paper 2, Q5(c) (2 marks): Write pseudocode to modify the values to element 20 as follows: • set the price to 105.99 • increase the number in stock by 12 [2]
- Specimen, Paper 2, Q5(d) (4 marks): A stock report program is developed. Write pseudocode to output the information for each stock item that has a price of at least 100. Output the information as
- Specimen, Paper 2, Q7 (8 marks): LogArray is a 1D array containing 500 elements of type STRING. A procedure, LogEvents, is required to add data from the array to the end of the existing text fi
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? Full past papers.
Rather write your answers by hand on iPad? Plumi marks them against the same mark schemes.