Q. GRASP stands for _______________.

  • (A) global responsibility assignment software patterns
  • (B) general responsibility assignment software patterns
  • (C) general responsibility assignment system patterns
  • (D) general research assignment software patterns
πŸ’¬ Discuss
βœ… Correct Answer: (B) general responsibility assignment software patterns

Q. ____________ object which receives request from UI layer object and then controls/coordinates with other object.

  • (A) main
  • (B) controller
  • (C) head
  • (D) parent
πŸ’¬ Discuss
βœ… Correct Answer: (B) controller

Q. Controller class is called _____________, if the class is overloaded with too many responsibilities.

  • (A) overload
  • (B) bloated
  • (C) full
  • (D) overflow
πŸ’¬ Discuss
βœ… Correct Answer: (B) bloated

Q. Benefit of ______________ is handling new variations will become easy.

  • (A) cohesion
  • (B) coupling
  • (C) polymorphism
  • (D) inheritance
πŸ’¬ Discuss
βœ… Correct Answer: (C) polymorphism

Q. Benefit of Pure Fabrication is _______________

  • (A) high cohesion
  • (B) low coupling
  • (C) class reuse
  • (D) all of above
πŸ’¬ Discuss
βœ… Correct Answer: (D) all of above

Q. A ___________ is a class that does not represent a concept in the problem domain.

  • (A) indirection
  • (B) information expert
  • (C) pure fabrication
  • (D) protected variations
πŸ’¬ Discuss
βœ… Correct Answer: (C) pure fabrication

Q. Type of design patterns that provide solution for the better interaction between objects is ______________

  • (A) creational
  • (B) structural
  • (C) behavioral
  • (D) none of above
πŸ’¬ Discuss
βœ… Correct Answer: (C) behavioral

Q. Which design pattern provides a single class which provides simplified methods required by client and delegates call to those methods?

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

Q. Which design pattern ensures that only one object of particular class gets created?

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

Jump to