Object-oriented programming
Classes, objects, attributes, methods and constructors, encapsulation with private attributes, getters and setters, inheritance and super, overriding and polymorphism, object references, aggregation, class diagrams and the case for OOP.
A-level Computer ScienceChapter 22Component 02Three sessions · about 4 hours
Object-oriented programming: quiz
Fifteen questions on classes and objects, constructors, encapsulation, inheritance, overriding, polymorphism, references and design. Every wrong option comes from a common mistake, and its feedback explains why.
Preparing your quiz…
Key learning objectives
- Understand the key principles behind Object-oriented programming.
- Apply these ideas to exam-style questions.
- Recall the essential definitions and key terms.