A Level Computer Science 9618, topic 13.1

User-defined data types: past paper questions

26 Cambridge A Level Computer Science 9618 questions on User-defined data types (13.1) from 25 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
26
Papers
25
Years
2023 to 2026
Total marks
239
Average per question
9.2 marks
Largest question
29 marks

By type: Structured 26

How hard the questions are

  • Recall6
  • Apply14
  • Analyse4
  • Not banded2

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

  • writeRecall18 questions

    write an answer in a specific way

  • describeApply6 questions

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

  • useApply5 questions
  • explainAnalyse4 questions

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

  • stateRecall4 questions

    express in clear terms

  • identifyRecall3 questions

    name/select/recognise

  • completeApply2 questions

    add information to an incomplete diagram or table

  • calculateApply1 question

    work out from given facts, figures or information

  • defineRecall1 question

    give precise meaning

  • giveRecall1 question

    produce an answer from a given source or recall/memory

Where the questions come from

By year

  • 20264
  • 20257
  • 20247
  • 20238

By session

  • May/June15
  • Oct/Nov11

By paper

  • Paper 322
  • Paper 44

Questions on this topic

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

  • Question 1May/June 2026, paper 31Structured5 marks

    A record data type is a type of composite user‑defined data type. Identify two other types of composite user‑defined data types.

    Try this question
  • Question 1Oct/Nov 2025, paper 31Structured6 marks

    The composite record data type, ClubMember, is defined in pseudocode as: TYPE ClubMember DECLARE Code : INTEGER DECLARE LastName : STRING DECLARE FirstName…

    Try this question
  • Question 6Oct/Nov 2024, paper 31Structured7 marks

    Describe the user-defined data type set.

    Try this question
  • Question 3Oct/Nov 2023, paper 31Structured4 marks

    Describe what is meant by enumerated and pointer data types.

    Try this question
  • Question 1May/June 2026, paper 32Structured5 marks

    A user-defined data type is required to store the types of animals in a children’s zoo. Write the pseudocode statement to declare a non-composite data type, Animals, that holds the following data: Alpaca, Chicken, Donkey, Duck, Goat, Pony, Sheep

    Try this question
  • Question 1Oct/Nov 2025, paper 32Structured6 marks

    The composite data type, Car, is defined in pseudocode as: TYPE Car DECLARE RegNumber : STRING DECLARE Make : STRING DECLARE Model : STRING DECLARE BodyStyle…

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

    Describe the user‑defined data type record.

    Try this question
  • Question 8Oct/Nov 2023, paper 31Structured8 marks

    A pseudocode algorithm finds a customer account record in a random file and outputs it. The records are stored using the user-defined data type TAccount.

    Try this question
  • Question 1May/June 2026, paper 33Structured5 marks

    User-defined data types may be created by programmers when writing software. Explain the reasons why user-defined data types are needed.

    Try this question
  • Question 1Oct/Nov 2025, paper 33Structured8 marks

    An enumerated data type, Spectrum, is required to hold the names of colours. Write the pseudocode statement for the type declaration of Spectrum to hold the names of the colours available: Red, Orange, Yellow, Green, Blue, Indigo, Violet.

    Try this question
  • Question 2Oct/Nov 2023, paper 32Structured4 marks

    Describe what is meant by composite and non-composite data types.

    Try this question
  • Question 2May/June 2026, paper 41Structured28 marks

    A program stores data about toys that are made from bricks.

    Try this question
  • Question 1May/June 2025, paper 31Structured6 marks

    A programmer is writing a program to manage bookings for a small taxi company. The programmer requires some user-defined data types.

    Try this question
  • Question 2Oct/Nov 2024, paper 42Structured29 marks

    A linear queue data structure is designed using a record structure.

    Try this question
  • Question 1May/June 2025, paper 32Structured6 marks

    Data types can be defined using pseudocode.

    Try this question
  • Question 3May/June 2024, paper 31Structured7 marks

    Explain what is meant by non-composite and composite data types.

    Try this question
  • Question 4May/June 2023, paper 31Structured4 marks

    Two descriptions of user-defined data types are given. Give appropriate type declaration statements for each, including appropriate names.

    Try this question
  • Question 1May/June 2025, paper 33Structured6 marks

    A programmer is writing a program to manage a video library. They require a user-defined data type. Write pseudocode statements to declare the composite data type VideoLibrary to hold data about each video in the collection.

    Try this question
  • Question 3May/June 2024, paper 32Structured7 marks

    Explain what is meant by the term non-composite data type and give an example of a non-composite data type.

    Try this question
  • Question 6May/June 2023, paper 32Structured9 marks

    Write pseudocode statements to declare the composite data type, TAppointments, to hold data about patients for a dental clinic.

    Try this question
  • Question 2May/June 2025, paper 42Structured22 marks

    A program stores data in a 1D array of records, HashTable. The array has space for 200 records. Each data item is stored in a specific index of the array that is calculated using an algorithm.

    Try this question
  • Question 2May/June 2023, paper 42Structured28 marks

    A business sells a single product. Customers can purchase one or more of this product. Each sale has an ID and a quantity, for example "ABC" and 2 The business needs a program to store the data about the sales in a circular queue data structure.

    Try this question