Home > Object Oriented Programming > Quizzes > Object-Oriented Programming (OOP) Quiz
Object-Oriented Programming (OOP) Quiz
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 20% Most missed: “An instance of which type of class cannot be created?”

Object-Oriented Programming (OOP) MCQs For LinkedIn Skill Assessments.

Object-Oriented Programming (OOP) Quiz
Time left 00:00
25 Questions

1. if an object is passed by reference, the changes made in the function are reflected \_.
2. What type of inheritance may lead to the diamond problem?
3. You have modules that are dependent on each other. If you change one module, you have to make changes in the dependent modules. What term is used to describe this problem, and what is a potential solution?
4. Which type of constructor cannot have a return type?
5. For which case would the use of a static attribute be appropriate?
6. What parameters are required to be passed to a class constructor?
'Here they haven't mentioned any specific language so let's consider all languages.'
7. In addition to attributes and behaviours, what quality must a class possess?
8. What is the best example of a superclass and subclass relationship?
9. What is a copy constructor?
10. Which words in the following list are candidates for objects: trumpet, clean, enrage, leaf, tree, collapse, active, and lively?
11. Which choice is a benefit of using dependency injection?
12. What are the five Creational Design patterns by the Gang of Four ?
13. What is the result of using more abstraction?
14. What is an IS-A relationship?
15. Static polymorphism uses method \_ ?
16. When does static binding happen?
17. Which type of function among the following shows polymorphism?
18. What is the best reason to use a design pattern?
19. Which choice is not an OOP language?
20. What is the main idea behind separation of concerns?
21. An instance of which type of class cannot be created?
22. How are user stories different from use cases?
23. What is the purpose of static constructor?
24. Two classes combine private data members and provide public member functions to access and manipulate those data members. Where is abstraction used?
25. What defines the catch block most accurately?