Question Bank
1899 approved questions from the community
Which of the following are elements of good software architecture? (Select all that apply)
What does the Liskov Substitution Principle state?
Availability as a quality attribute is often expressed as a percentage of time the system is expected to be operational, such as '99.99% uptime'.
What is the Publish-Subscribe (Pub-Sub) pattern?
Thread safety in Singleton implementation can be complex and, if done incorrectly, lead to performance bottlenecks or data inconsistencies.
The SOLID principles are guidelines that help enhance code readability, reusability, and maintainability in object-oriented programming.
What is the principle of least knowledge, also known as the Law of Demeter?
Software architecture operates on high-level abstractions focusing on the overall system, while design deals with low-level abstractions and detailed mechanisms.
What does the Single Responsibility Principle mean?
What does the Interface Segregation Principle advocate?
Which of the following are quality factors in software architecture? (Select all that apply)
What is a potential limitation of the MVC pattern?
The Singleton pattern can lead to tight coupling throughout the codebase due to global state.
Testability is the degree to which a system facilitates the generation of test cases and testing processes.
Which of the following are access specifiers commonly used in OOP? (Select all that apply)
Which of the following are ways to achieve method overloading? (Select all that apply)
What is coupling in OOP?
Which of the following are characteristics of constructors? (Select all that apply)
What relationship does inheritance establish between classes?
Which of the following are purposes of destructors in OOP? (Select all that apply)