A Level Computer Science 9618, topic 10.2

Arrays: past paper questions

60 Cambridge A Level Computer Science 9618 questions on Arrays (10.2) from 31 papers, 2023 to 2026. Open the paper or try a question free.

Practising builds a set from this topic, free with an account. One question opens straight away, with no account.

Questions
60
Papers
31
Years
2023 to 2026
Total marks
823
Average per question
13.7 marks
Largest question
29 marks

By type: Structured 60

How hard the questions are

  • Recall16
  • Apply32
  • Analyse12
  • Not banded0

Derived from the command word Cambridge prints in each question, banded by a fixed table beside the syllabus's own definitions. A question printing no command word is unbanded: unknown, not middling.

Command words

  • writeRecall38 questions

    write an answer in a specific way

  • completeApply24 questions

    add information to an incomplete diagram or table

  • describeApply8 questions

    state the points of a topic / give characteristics and main features

  • explainAnalyse8 questions

    set out purposes or reasons / make the relationships between things clear / say why and/or how and support with relevant evidence

  • useApply8 questions
  • stateRecall7 questions

    express in clear terms

  • giveRecall5 questions

    produce an answer from a given source or recall/memory

  • nameRecall5 questions
  • calculateApply4 questions

    work out from given facts, figures or information

  • identifyRecall4 questions

    name/select/recognise

Where the questions come from

By year

  • 20267
  • 202515
  • 202421
  • 202317

By session

  • May/June31
  • Oct/Nov29

By paper

  • Paper 245
  • Paper 415

Questions on this topic

Showing 30 of 60, spread across the years. Open one to write your answer and have it marked.

  • Question 8May/June 2026, paper 21Structured6 marks

    Global array MyData contains the values shown.

    Try this question
  • Question 2Oct/Nov 2025, paper 21Structured5 marksHas a diagram

    Data is a global 1D array containing 30 elements of type STRING An algorithm will output: • all non-blank elements (elements that do not contain an empty string) • the final total of the number of elements output.

    Try this question
  • Question 6Oct/Nov 2024, paper 21Structured9 marks

    6 A factory produces food items. The items must be used within a certain number of days after their production date. The number of days is known as the shelf life.

    Try this question
  • Question 3Oct/Nov 2023, paper 21Structured8 marks

    The diagram represents an Abstract Data Type (ADT). The operation of this stack may be summarised as follows: • The TopOfStack pointer points to the last item added to the stack. • The BottomOfStack pointer points to the first item on the stack.

    Try this question
  • Question 9May/June 2026, paper 21Structured18 marksHas a diagram

    A hotel has three floors numbered 0 to 2 (floor 0 is the ground floor). There are 15 rooms on each floor. The hotel gets many enquiries from customers to check if a room is available that day.

    Try this question
  • Question 3Oct/Nov 2025, paper 21Structured9 marks

    A program is needed to manage individual rentals in a car-hire business.

    Try this question
  • Question 8Oct/Nov 2024, paper 21Structured15 marks

    8 An exam paper has a maximum of 75 marks. One of five pass grades (A to E) is assigned, depending on the mark obtained. The lowest mark for a given grade is known as the grade boundary.

    Try this question
  • Question 4Oct/Nov 2023, paper 21Structured9 marks

    A global array is declared in pseudocode as follows: DECLARE Data : ARRAY[1:150] OF STRING A function TooMany() will: 1. take two parameters: • a string (the search string) • an integer (the maximum value) 2.

    Try this question
  • Question 5May/June 2026, paper 22Structured10 marks

    5 A programmer has defined a global 1D array Numbers of type INTEGER, which can store 1000 integers. The lower bound of the array Numbers is set to 1. Each element of the array has been initialised with a random integer in the range 200 to 99999.

    Try this question
  • Question 4Oct/Nov 2025, paper 21Structured9 marks

    A program contains a global 1D array Number consisting of 20 elements of type REAL A procedure Store() will input a sequence of up to 20 real values, one value at a time.

    Try this question
  • Question 2Oct/Nov 2024, paper 22Structured9 marks

    A program is being developed to process bank card information. When a card number is displayed, all the characters except the last four are replaced with the asterisk character '*'. Card numbers are stored as strings.

    Try this question
  • Question 3Oct/Nov 2023, paper 22Structured9 marks

    The diagram represents a linked list Abstract Data Type (ADT). • Ptr1 is the start pointer. Ptr2 is the free list pointer.

    Try this question
  • Question 6May/June 2026, paper 22Structured18 marks

    6 A program is being developed to encrypt a message. The following terms are used in the encryption technique to be used: | term | definition | |---|---| | plain text | The original message before it is encrypted. | | cipher text | The encrypted version of the plain text.

    Try this question
  • Question 8Oct/Nov 2025, paper 21Structured17 marks

    A program is being developed to manage student book loans from a college library. Students may borrow up to five books at a time from the library. The programmer has defined a record type to define each loan.

    Try this question
  • Question 3Oct/Nov 2024, paper 22Structured7 marks

    A program uses a stack to hold up to 60 numeric values. The stack is implemented using two integer variables and a 1D array.

    Try this question
  • Question 5Oct/Nov 2023, paper 22Structured6 marks

    A global 1D array of integers contains four elements, which are assigned values as shown: Mix[1] ← 1 Mix[2] ← 3 Mix[3] ← 4 Mix[4] ← 2 A procedure Process() manipulates the values in the array.

    Try this question
  • Question 8May/June 2026, paper 23Structured19 marksHas a diagram

    A warehouse stores stock in bins. A bin is a container which stores the stock items; each bin can store many identical items. The warehouse is organised on three different levels – level 0 (ground level), then level 1 and level 2.

    Try this question
  • Question 2Oct/Nov 2025, paper 22Structured5 marksHas a diagram

    Data is a global 1D array containing 20 elements of type REAL An algorithm will: • input a sequence of real values, one at a time • assign each value to…

    Try this question
  • Question 6Oct/Nov 2024, paper 22Structured9 marks

    A shop sells sandwiches and snacks. The owner chooses a ‘daily special’ sandwich which is displayed on a board outside the shop. Each ‘daily special’ has two different fillings and is made with one type of bread.

    Try this question
  • Question 8Oct/Nov 2023, paper 22Structured18 marks

    A class of students are developing a program to send data between computers. Many computers are connected together to form a wired network. Serial ports are used to connect one computer to another.

    Try this question
  • Question 1May/June 2026, paper 42Structured18 marks

    A program stores nine lower-case strings in a 1D array TheData. The following strings are stored in the order shown: laptop tablet printer computer processor monitor memory cable touchscreen Write program code to declare the array TheData in the main program.

    Try this question
  • Question 4Oct/Nov 2025, paper 22Structured13 marks

    A quiz has nine questions. There are: • five easy questions each worth 3 points • four hard questions each worth 5 points. At the end of the quiz the points for each correctly answered question are added to give a total score.

    Try this question
  • Question 8Oct/Nov 2024, paper 22Structured18 marks

    A program is being developed to implement a game for up to six players. During the game, each player assembles a team of characters. At the start of the game there are 45 characters available.

    Try this question
  • Question 2Oct/Nov 2023, paper 23Structured9 marksHas a diagram

    Data is a 1D array of integers, containing 30 elements. All element values are unique. An algorithm will output the index of the element with the smallest value.

    Try this question
  • Question 1May/June 2026, paper 43Structured21 marks

    A program stores 15 strings in the 1D array DataArray Write program code to declare the global 1D array DataArray with space for 15 string elements.

    Try this question
  • Question 8Oct/Nov 2025, paper 22Structured18 marks

    A program is being developed to manage student book loans from a college library. The programmer has defined a record type to define each loan.

    Try this question
  • Question 3Oct/Nov 2024, paper 23Structured10 marksHas a diagram

    The implementation of a linked list uses an integer variable and a 1D array List of type Node.

    Try this question
  • Question 4Oct/Nov 2023, paper 23Structured7 marks

    A procedure RandList() will output a sequence of 25 random integers, where each integer is larger than the previous one. Write pseudocode for procedure RandList().

    Try this question
  • Question 3Oct/Nov 2025, paper 23Structured5 marks

    A program uses a stack to hold up to 30 integer values. The stack is implemented using a global integer variable and a global 1D array.

    Try this question
  • Question 4Oct/Nov 2024, paper 23Structured12 marks

    An examination paper has a maximum of 75 marks. One of five pass grades (A to E) is assigned, depending on the mark obtained. The lowest mark for a given grade is known as the grade boundary.

    Try this question