Draw one line from each Object-Oriented Programming (OOP) term to its most appropriate description. [Figure 6.1]
- (a)Draw one line from each Object-Oriented Programming (OOP) term to its most appropriate description. OOP term Encapsulation Getters Polymorphism Setters Description methods used to return the value of a property the process of putting data and methods together as a single unit methods used to update the value of a property allows methods to be redefined for derived classes enables the defining of a new class that inherits from a parent class[4]
This question uses a diagram from the original paper, which isn't shown here. Open the full paper from the past papers archive to see it.
Mark scheme
Marking points from the official mark scheme (May/June 2023). The mark or mark type is shown in brackets.
- [4] One mark for each correct line connecting an OOP term to its description (Max 4). OOP term Description Encapsulation the process of putting data and methods together as a single unit Getters methods used to return the value of a property Polymorphism allows methods to be redefined for derived classes Setters methods used to update the value of a property
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 →