On This Page

This set of software design modeling (SDM) Multiple Choice Questions & Answers (MCQs) focuses on Software Design Modeling Set 6

Q1 | The __________ allows an object to alter its behavior when its internal state changes.
Q2 | In which of the following pattern, a null object replaces check of NULL object instance?
Q3 | In which of the following pattern, a visitor class is used which changes the executing algorithm of an element class?
Q4 | Which of the following represents The (static) structure and (dynamic) behavior of the pattern?
Q5 | Which of the following is not one of the elements of a design pattern?
Q6 | Define a family of algorithms, encapsulate each one, and make them interchangeable. It lets the algorithm vary independently from clients that use it.
Q7 | Encapsulate a request as an object, there by letting you parametrize clients with different requests, queue or log requests, and support undoable operation.
Q8 | Which design pattern is used in the Java Database connectivity JDBC(TM)?
Q9 | Which design pattern you would you use to limit the class instantiation to one object?
Q10 | Which of the following patterns allows multiple objects an opportunity to process a request without guaranteeing that any of them must process it?
Q11 | Which of the following is an object pattern that encapsulates interchangeable algorithms in objects so the algorithm can vary independently of the classes that use it?
Q12 | A pattern that is intended to provide a means to define a family of algorithms and encapsulate each one as an object for interchangeable use
Q13 | Which GRASP pattern is suitbale to handle alternatives based on type?
Q14 | A concrete class must have ...........
Q15 | It is also known as Wrapper, it is used when subclassing is not possible or practical to add functionality and it is used to add functionality at runtime. This pattern is
Q16 | The Proxy pattern deals with situations where you have a complex object or it takes a long time to create the object.
Q17 | The main advantage of design patterns:
Q18 | Which Design Pattern should you use when you want to parameterize objects by an action to perform.
Q19 | Which Design Pattern should you use whenyou want to represent part-whole hierarchies of objects.
Q20 | Which Design Pattern should you use when an application uses a large number of objects and the storage costs are high because of the sheer quantity of objects.
Q21 | Which Design Pattern should you use when more than one object may handle a request, and the handler isn't known a priori. The handler should be ascertained automatically.
Q22 | Which GRASP pattern helps to find out answer for “Who should be responsible for creating a new instance of some class?
Q23 | ___________ is a measure of how strongly one element is connected to, has knowledge of, or relies on other elements.
Q24 | A _____________ system is one in which each of its components has little or no knowledge of the definitions of other separate components.
Q25 | In Low coupling two elements are coupled, if ______________________.