9618/31/O/N/23 question 3: worked solution (October/November 2023, paper 31)

Show as plain text

Cambridge A2 Level Computer Science 9618 · 13.1 User-defined data types Worked solution from the Data Representation Paper 3 Advanced Theory booklet, Part 1 of 3. Q9 9618/31/O/N/23 original Q3 Structured · 4 marks Worked solution Write about each type. Enumerated: a user-defined non-composite data type [1] ... that has a list of all the possible values , which are in order [1] Pointer: a user-defined non-composite data type that stores memory addresses only [1] ... and says the type of data held at that memory location [1] KEY IDEA An enumerated type lists all its ordered values, and a pointer type holds a memory address and the type of data stored there. TOTAL 4 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by ZAINEMATICS. Tap the picture to open it on YouTube.