Tag: architecture

Questions Related to architecture

Which pattern is used to allow different implementations of an algorithm or operation to be selected dynamically at runtime?

  1. Façade Pattern.

  2. Adapter Pattern

  3. Strategy Pattern.

  4. Factory pattern.


Correct Option: C

Which Pattern is used when it must be decided at run time which one of the several compatible classes is to be instantiated?

  1. Singleton Pattern

  2. Façade Pattern.

  3. Factory Pattern.

  4. Adapter Pattern.


Correct Option: C

Which Behavioral Pattern would help in parsing and translate a Specific Expression?

  1. Command

  2. Interpreter

  3. Observer

  4. Iterator.


Correct Option: B

Which Behavioral Pattern move through a list of collection or aggregated objects without knowing its internal representations?

  1. Command

  2. Interpreter

  3. Mediator.

  4. Iterator.


Correct Option: D

If I need to access Multiple Data Sources like Legacy Systems, B2B, LDAP – Which of the below J2EE Pattern would suit?

  1. Data Access Object.

  2. MVC

  3. Business Delegate

  4. Service Locator.


Correct Option: A
  1. Value Objects Layer.

  2. Presentation Layer.

  3. Data access object layer.

  4. Deployment Layer.


Correct Option: C
  1. The capability of an object to exist after the program that created it has stopped running.

  2. The ability of a class to support multiple threads.

  3. An Error-Handling technique.

  4. None of the above.


Correct Option: A