Top 350+ Solved software design modeling (SDM) MCQ Questions Answer

From 331 to 345 of 445

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

  • a. singleton pattern

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

  • 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

  • a. command pattern

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

  • d. both a &c

Q. Which one pattern creating duplicate object?

a. filter pattern

b. prototype pattern

c. bridge pattern

d. builder pattern

  • 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

  • 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

  • a. encompasses a collection of patterns

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

  • 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

  • d. adapter pattern

Q. ________________ makes a clear-cut between abstraction and implementation.

a. facade pattern

b. builder pattern

c. prototype pattern

d. bridge pattern

  • d. bridge pattern

Q. The _____________ helps you to create tree structures of objects.

a. builder pattern

b. composite pattern

c. flyweight pattern

d. mediator pattern

  • b. composite pattern

Q. Use ___________ when you need to define a family of algorithms, encapsulate each one, and make them interchangeable.

a. state pattern

b. abstract factory

c. strategy pattern

d. singleton pattern

  • c. strategy pattern
Subscribe Now

Get All Updates & News