Object Oriented Techniques (OCR A-Level Computer Science): Quizzes

📚Quizzes
Object Oriented Techniques
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

12 questions from this quiz

Show

What does Object-Oriented Programming organise software design around?

Objects

What is a class in OOP?

A blueprint for creating objects

How are private attributes prefixed in Python?

With _ or __

Which decorator is used to define static methods?

@staticmethod

What is encapsulation?

Restricting direct access to protect integrity

What are getters and setters used for?

Access and modify private attributes

What does inheritance promote in OOP?

Code reuse

What is a subclass?

A class that inherits from a superclass

What does the super() function allow?

Access to superclass methods/attributes

What is polymorphism?

Treating objects of different classes as a common superclass

In class diagrams, what does the + symbol represent?

Public

Which is a benefit of OOP?

Reusability

Explore OCR A-Level Computer Science Revision Notes by Topics

Explore OCR A-Level Computer Science Model Answers by Topics

Explore OCR A-Level Computer Science Flashcards by Topics

Explore OCR A-Level Computer Science Exam Questions by Topics

Join 100,000+ A-Level students studying Quizzes with us.

Select your subjects, and get access to A+ resources today.