Tag: architecture

Questions Related to architecture

  1. Conditional, Structural, Behavioral

  2. Ceational, Structural, Behavioral

  3. Factory, Command, Strategy

  4. Behavioral, Observer, Factory


Correct Option: B
  1. Defines multiple access points for a singleton

  2. supports multiple visibility forms for a singleton

  3. allows the creation of multiple class instances in the future without affecting the clients of the singleton class

  4. All of the above


Correct Option: C
  1. Low coupling, High cohesion

  2. High Cohesion, Indirection

  3. Low Coupling, Polymorphism

  4. High Cohesion, Polymorphism


Correct Option: C
  1. Allows you to represent composite objects in the form of a hierarchy

  2. It uses independent interfaces for representing individual and composite objects

  3. It uses an individual object that is composed of two or more composite objects

  4. It represents just a collection of different objects


Correct Option: A
  1. Adapter pattern is used to access facades

  2. The Adapter pattern adds an indirection object for low coupling

  3. The Façade pattern hides the complexity of a subsystem from a client

  4. None of the above


Correct Option: C
  1. Assigns responsibility to an intermediate object

  2. Creates a convenient class that supports high cohesion and low coupling

  3. Creates a convenient class that supports low cohesion and high coupling

  4. Protects the system from unexpected variations


Correct Option: B
  1. Solutions to common problems

  2. Guiding Principles for designing a system

  3. General concepts of designing

  4. None of the above


Correct Option: B
  1. Handles the message generated when a system event or operation takes place

  2. assigns the responsibility for creating new class instance or object

  3. Determine how a system handles conditional variations

  4. Creates a convenient class


Correct Option: C
  1. Avoid direct coupling

  2. Maintain low coupling and high reusability

  3. None of the above

  4. Both A and B


Correct Option: D
  1. Is used in the process of alternative evaluation

  2. Determine how a system handles conditional variations

  3. Assign responsibilities to an intermediate object

  4. Defines guiding principles for assigning responsibilities to objects


Correct Option: D