Q. Which design pattern suggests multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request?

  • (A) singleton pattern
  • (B) chain of responsibility pattern
  • (C) state pattern
  • (D) bridge pattern
πŸ’¬ Discuss
βœ… Correct Answer: (C) state pattern

Q. Which design pattern works on data and action taken based on data provided?

  • (A) command pattern
  • (B) singleton pattern
  • (C) mvc pattern
  • (D) facade pattern
πŸ’¬ Discuss
βœ… Correct Answer: (A) command pattern

Q. Facade pattern promotes weak coupling between subsystem and its clients.

  • (A) true
  • (B) false
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (A) true

Q. Which of the following are levels of design focus that can be used to categorize WebApp patterns?

  • (A) behavioral patterns
  • (B) functional patterns
  • (C) navigation patterns
  • (D) both a &c
πŸ’¬ Discuss
βœ… Correct Answer: (D) both a &c

Q. Which one pattern creating duplicate object?

  • (A) filter pattern
  • (B) prototype pattern
  • (C) bridge pattern
  • (D) builder pattern
πŸ’¬ Discuss
βœ… Correct Answer: (B) prototype pattern

Q. In which of the following pattern, a visitor class is used which changes the executing algorithm of an element class?

  • (A) visitor pattern
  • (B) mvc pattern
  • (C) business delegate pattern
  • (D) composite entity pattern
πŸ’¬ Discuss
βœ… Correct Answer: (A) visitor pattern

Q. A pattern language ______________

  • (A) encompasses a collection of patterns
  • (B) is implemented using hypertext
  • (C) resembles the structure of natural languages
  • (D) none of above
πŸ’¬ Discuss
βœ… Correct Answer: (A) encompasses a collection of patterns

Q. Most user interface design patterns fall with in one of ____ categories of patterns.

  • (A) 5
  • (B) 10
  • (C) 25
  • (D) 100
πŸ’¬ Discuss
βœ… Correct Answer: (B) 10

Q. The ___________used to ease the construction of a complex object from simple objects.

  • (A) builder pattern
  • (B) construct pattern
  • (C) create pattern
  • (D) none of above
πŸ’¬ Discuss
βœ… Correct Answer: (A) builder pattern

Q. The ___________ is used to translate the interface of one class into another interface.

  • (A) facade pattern
  • (B) builder pattern
  • (C) prototype pattern
  • (D) adapter pattern
πŸ’¬ Discuss
βœ… Correct Answer: (D) adapter pattern

Jump to