1) According to “Jacobson’s Heuristic” Policy should not be placed ________ involved in the policy decision.
- Outside of classes
- Outside the interfaces
- Inside of classes
- Inside of domain
2) in programming, the __________ is a way to decouple software modules.
- Digression Inversion Principle
- Interface Segregation Principle
- Both Interface Segregation and Dependency Inversion Principle
- Dependency Inversion Principle
3) Design pattern ________ is the abstract description of design problems and how the pattern solves it.
- Element
- Problem
- Name
- Solution
4) Law of Demeter essence is the ____________.
- Principle of least Knowledge
- Principle of most knowledge
- Principle of record knowledge
- Principle of top knowledge
5) New features can be easily added to a system without changing an existing implementation.
- Dependency Inversion Principle
- Liskov Substitution principle
- Single responsibility principle
- Open-Close principle
6) Façade Design Pattern is a ______________.
- Creational Pattern
- Observer Pattern
- Behavioral Pattern
- Structural Pattern
7) One of the basic requirements of a good Object-Oriented Design is ____________.
- High Cohesion and high coupling
- Low Cohesion and high coupling
- Low cohesion and low coupling
- High cohesion and low coupling
8) In order to avoid having instances changing their own classes, we have to ensure that we ___________.
- Destroy the old one and avoid creating a new one
- Destroy the old one and create a new one
- Destroy all the instances of a class with no addition of new instance
- Keep the old one and also create a new one
9) To avoid the problem of ________ simply create a new interface.
- ISP violation principle
- ASP violation principle
- ASI violation principle
- LSP violation principle
10) Classes that have ___________ interfaces are classes whose interfaces are not cohesive
- Slim
- Thick
- Fat
- Thin