Skip to main content
A-LevelComputer ScienceProgramming9618/31 · Oct/Nov 2021 · Q34 Marks

Enumerated and pointer are two non-composite data types.

  1. (a)Write pseudocode to create an enumerated type called Parts to include these parts sold in a computer shop: Monitor, CPU, SSD, HDD, LaserPrinter, Keyboard, Mouse[2]
  2. (b)Write pseudocode to create a pointer type called SelectParts that will reference the memory location in which the current part name is stored.[2]

Mark scheme

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

  1. [2] One mark for each marking point (Max 2)
  2. • TYPE Parts =
  3. • (Monitor, CPU, SSD, HDD, LaserPrinter, Keyboard, Mouse)
  4. Complete answer
  5. TYPE Parts = (Monitor, CPU, SSD, HDD, LaserPrinter, Keyboard, Mouse)
  6. [2] One mark for each marking point (Max 2)
  7. • TYPE SelectParts = ^
  8. • correct data type chosen Parts
  9. Complete answer
  10. TYPE SelectParts = ^Parts

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
Programming, A-Level Computer Science (syllabus 9618). Structured question, 4 marks.
Source
A-Level Computer Science, Oct/Nov 2021 Paper 3 Variant 1, question 3.

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