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

From 361 to 375 of 445

Q. The main advantage of design patterns:

a. provide proven solutions

b. simplify complex problems

c. improve communication

d. all of above

  • d. all of above

Q. Which Design Pattern should you use whenyou want to represent part-whole hierarchies of objects.

a. composite

b. iterator

c. abstract factory

d. flyweight

  • a. composite

Q. A _____________ system is one in which each of its components has little or no knowledge of the definitions of other separate components.

a. tightly coupled

b. strong coupled

c. loosely coupled

d. weak coupled

  • c. loosely coupled

Q. In Low coupling two elements are coupled, if ______________________.

a. one element has aggregation/composition association with another element.

b. one element implements/extends other element.

c. both a&b

d. none of above

  • c. both a&b

Q. We can make an object as Controller, if ___________________

a. object represents the overall system

b. object represent a use case, handling a sequence of operations

c. both a&b

d. none of above

  • c. both a&b

Q. A good software will have _____________.

a. high cohesion

b. low coupling

c. both a&b

d. none of above

  • c. both a&b

Q. The indirection pattern supports _____________

a. low coupling

b. reuse

c. both a&b

d. none of above

  • c. both a&b

Q. Which design pattern defines one-to-many dependency among objects?

a. singleton pattern

b. facade pattern

c. observer pattern

d. factory method pattern

  • c. observer pattern

Q. Which of the following is correct about Factory design pattern.

a. this type of design pattern comes under creational pattern.

b. factory pattern creates object without exposing the creation logic to the client.

c. factory pattern refers to newly created object using a common interface.

d. all of the above

  • d. all of the above
Subscribe Now

Get All Updates & News