```html
Instruction: Select the correct answer from the given choices. Each question carries 2 points.
1. Which of the following describes the concept of bundling data and methods that operate on the data into a single unit?
2. In object-oriented programming, a blueprint for creating objects is known as a:
3. Which OOP principle allows a subclass to provide a specific implementation of a method that is already defined in its superclass?
4. What is the primary benefit of using inheritance in object-oriented programming?
5. Which of the following best describes an abstract class?
6. What is a major advantage of using an interface in OOP?
7. The process of creating a new object from a class is called:
8. What is the primary role of an accessor method (getter) in a class?
9. Which of the following best describes method overloading?
10. What is a key characteristic of the relationship between a base class and a derived class?
11. A special method that is automatically called when an object of a class is created is known as a:
12. The concept of hiding the internal implementation details of a class and showing only the essential features is known as:
13. What is it called when a subclass provides its own specific implementation for a method that is already defined in its superclass?
14. What is the purpose of the `super` keyword in a subclass?
15. The special member function that is called when an object is destroyed is known as a:
16. Which access specifier allows members of a class to be accessed from anywhere?
17. How much memory does a class occupy?
18. Which type of polymorphism is achieved through method overloading?
19. The `protected` access specifier allows a member to be accessed by:
20. What type of inheritance is it when one base class is inherited by multiple derived classes?
21. In OOP, an object's "state" is defined by its:
22. What can an interface contain?
23. The primary purpose of the `private` access specifier is to enforce the principle of:
24. What is the main difference between OOP and procedural programming?
25. Method overloading is a form of:
Your Score: /
Correct Answers:
Incorrect Answers:
Review your answers below: