Software Design Modeling (SDM) MCQs | Page - 8
Dear candidates you will find MCQ questions of Software Design Modeling (SDM) here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
β
Correct Answer: (D)
bridge pattern
Q. The _____________ helps you to create tree structures of objects.
β
Correct Answer: (B)
composite pattern
Q. Scope based classification decided if the pattern applies to mainly classes or objects.
β
Correct Answer: (A)
true
Q. Use ___________ when you need to define a family of algorithms, encapsulate each one, and make them interchangeable.
β
Correct Answer: (C)
strategy pattern
Q. The __________ allows an object to alter its behavior when its internal state changes.
β
Correct Answer: (B)
state pattern
Q. Which design pattern defines one-to-many dependency among objects?
β
Correct Answer: (C)
observer pattern
Q. Which of the following is correct about Factory design pattern.
β
Correct Answer: (D)
all of the above
Q. Attach additional responsibilities to an object dynamically.It provides a flexible alternative to subclassing for extending functionality.
β
Correct Answer: (C)
decorator
Jump to