9618/33/M/J/25 question 5: worked solution (May/June 2025, paper 33)

Show as plain text

Cambridge A2 Level Computer Science 9618 · 20.1 Programming Paradigms Worked solution from the Further Programming Paper 3 Advanced Theory booklet, Part 1 of 2. Q20 9618/33/M/J/25 original Q5 Structured · 4 marks Worked solution Fill in each gap with the matching term or description: OOP term Description Getter A method that accesses the value of a property Setter A method that changes the value of a property Object An instance of a class Method A subroutine (procedure or function) defined as part of a class First term: Getter [1] Second term: Setter [1] Object: an instance (instantiation) of a class [1] Method: a programmed procedure or function defined inside a class [1] KEY IDEA Getters read a property, setters change it, an object is an instance of a class, and a method is a subroutine inside a class. TOTAL 4 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Craig'n'Dave. Tap the picture to open it on YouTube.