Polymorphism (OOP) (OCR A-Level Computer Science): Quizzes

📚Quizzes
Polymorphism (OOP)
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 the term 'polymorphism' literally mean?

Many forms

What does polymorphism allow in OOP?

Treat objects of different classes as same

When does method overriding occur?

At runtime

What does method overriding allow child classes to do?

Provide specific implementation of method

What characterises method overloading?

Same name, different parameters

Is true method overloading directly supported in Python?

No, not directly supported

What do interfaces ensure for different classes?

Classes provide the same methods

Which benefit does polymorphism provide regarding redundancy?

Reduces redundancy via shared methods

What must match exactly when overriding methods?

Method name and parameters

What happens if you create multiple methods with the same name in Python?

Overwriting rather than overloading

What promotes flexibility in polymorphism?

Working with different types together

What do abstract classes promote by enforcing method consistency?

Polymorphism across classes

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

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