Object-Oriented Programming Concepts (AQA A-Level Computer Science): Quizzes
📚Quizzes
Practise the questions
10 questions from this quiz
ShowHide
Practise the questions
10 questions from this quiz
How does OOP differ from procedural programming in organizing code and data?
How does OOP differ from procedural programming in organizing code and data?
Code and data are packaged together
What is encapsulation in object-oriented programming?
What is encapsulation in object-oriented programming?
Keeping data & code together in an object
What are properties in OOP?
What are properties in OOP?
Characteristics of object in terms of data
What is the relationship between a class and an object?
What is the relationship between a class and an object?
Class is blueprint, object is instance
What is a key characteristic of inheritance in OOP?
What is a key characteristic of inheritance in OOP?
You can add features but not delete them
In class diagrams, what does the '#' symbol indicate?
In class diagrams, what does the '#' symbol indicate?
Protected properties and methods
What is polymorphism in object-oriented programming?
What is polymorphism in object-oriented programming?
Method from base class redefined in subclass
What does a solid diamond arrow indicate in aggregation diagrams?
What does a solid diamond arrow indicate in aggregation diagrams?
Contained objects can't exist independently
What are static methods in OOP?
What are static methods in OOP?
Methods used without creating an instance
Which design principle is recommended for creating objects in OOP?
Which design principle is recommended for creating objects in OOP?
Favour composition over inheritance
