Object-Oriented Design Principles – MCQs

30 Score: 0 Attempted: 0/30 Subscribe
1. : What does the principle of encapsulation promote?





2. : What is the goal of the Single Responsibility Principle (SRP)?





3. : Which principle emphasizes depending on abstractions rather than concrete classes?





4. : What is the core idea of the Open-Closed Principle?





5. : Which design principle is violated when subclasses override base class methods incorrectly?





6. : What is favored in object-oriented design according to SOLID principles?





7. : What is cohesion in object-oriented design?





8. : What does the Interface Segregation Principle suggest?





9. : Which principle helps to reduce tight coupling in OOP?





10. : The principle “Favor object composition over class inheritance” helps in:





11. : What does low coupling mean in OOP?





12. : Which of the following promotes reusability in OOP?





13. : What is the primary advantage of high cohesion?





14. : What is the concept of polymorphism related to?





15. : Which principle is directly violated by using one class for too many unrelated responsibilities?





16. : Which of the following is NOT a SOLID principle?





17. : What is a design pattern in object-oriented design?





18. : Which of the following helps in achieving polymorphism?





19. : Which term is used for hiding internal object details from the outside world?





20. : Which of the following is an example of abstraction?





21. : What does tight coupling between classes indicate?





22. : What should be avoided to maintain loose coupling?





23. : What helps ensure code extensibility without modification?





24. : Why is abstraction important in OOD?





25. : What does the term “design principle” refer to?





26. : Which principle is beneficial in preventing changes in one class from affecting others?





27. : How is abstraction different from encapsulation?





28. : Which of the following is the foundation of object-oriented design?





29. : What does the term “modularity” mean in OOD?





30. : Why is the SOLID principle set important in OOD?





Leave a Comment

All copyrights Reserved by MCQsAnswers.com - Powered By T4Tutorials