Skip to main content
A-LevelComputer ScienceData types and structures9618/31 · Oct/Nov 2024 · Q67 Marks

Describe the user-defined data type set.

  1. (a)Describe the user-defined data type set.[3]
  2. (b)Write pseudocode statements to declare the set data type, SymbolSet, to hold the following set of mathematical operators, using the variable Operators. + - * / ^[4]

Mark scheme

Marking points from the official mark scheme (Oct/Nov 2024). The mark or mark type is shown in brackets.

  1. 6(a) One mark per mark point (Max 3)
  2. 6(a) MP1 A set user-defined data type is a composite data type
  3. 6(a) MP2 which includes a list of unordered elements
  4. 6(a) MP3 Set theory operations, such as intersection and union, can be applied to these elements
  5. 6(a) MP4 A set data type includes the type of data/data type it uses as part of its definition
  6. 6(a) MP5 All the elements are of the same data type.
  7. 6(b) One mark for each mark point (Max 4)
  8. 6(b) MP1 TYPE SymbolSet/Operators =
  9. 6(b) MP2 SET OF CHAR
  10. 6(b) MP3 DEFINE Operators/SymbolSet
  11. 6(b) MP4 ('+', '-', '*', '/', '^')
  12. 6(b) MP5 : SymbolSet/Operators
  13. 6(b) Example answers TYPE SymbolSet = SET OF CHAR DEFINE Operators ('+', '-', '*', '/', '^') : SymbolSet TYPE Operators = SET OF CHAR DEFINE SymbolSet ('+', '-', '*', '/', '^') : Operators

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Data types and structures, A-Level Computer Science (syllabus 9618). Structured question, 7 marks.
Source
A-Level Computer Science, Oct/Nov 2024 Paper 3 Variant 1, question 6.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep