Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. It lets subclasses redefine certain steps of an algorithm without changing
the algorithm structure.
  1.    Chain of responsibility
  2.    Template method
  3.    Interpretor
  4.    Prototype
 Discuss Question
Answer: Option B. -> Template method




Question 2. Which of the following pattern refers to creating duplicate object while keeping performance in mind?
  1.    Builder Pattern
  2.    Bridge Pattern
  3.    Prototype Pattern
  4.    Filter Pattern
 Discuss Question
Answer: Option C. -> Prototype Pattern




Question 3. Which design pattern provides a single class which provides simplified methods required by client and delagates call to those methods?
  1.    Adapter pattern
  2.    Builder pattern
  3.    Facade pattern
  4.    Prototype pattern
 Discuss Question
Answer: Option C. -> Facade pattern




Question 4. Which of the following Chooses and standardizes patterns for a problem domain promotes software reuse and, hence, quality and productivity?
  1.    Promoting Communication
  2.    Streamlining Documentation
  3.    Increasing Development Efficiency
  4.    Supporting Software Reuse
 Discuss Question
Answer: Option D. -> Supporting Software Reuse




Question 5. In which of the following pattern, a visitor class is used which changes the executing algorithm of an element class?
  1.    Visitor Pattern
  2.    MVC Pattern
  3.    Business Delegate Pattern
  4.    Composite Entity Pattern
 Discuss Question
Answer: Option A. -> Visitor Pattern




Question 6. Attach additional responsibilities to an object dynamically.It provides a flexible alternative to subclassing for extending functionality.
  1.    Chain of responsibility
  2.    Adapter
  3.    Decorator
  4.    Composite
 Discuss Question
Answer: Option C. -> Decorator




Question 7. A pattern language
  1.    encompasses a collection of patterns
  2.    is implemented using hypertext
  3.    resembles the structure of natural languages
  4.    None of the above
 Discuss Question
Answer: Option A. -> encompasses a collection of patterns




Question 8. Which of the following are levels of design focus that can be used to categorize WebApp patterns?
  1.    Behavioral patterns
  2.    Functional patterns
  3.    Layout patterns
  4.    Navigation patterns
  5.    Both b and d
 Discuss Question
Answer: Option E. -> Both b and d




Question 9. Most user interface design patterns fall with in one of ____ categories of patterns.
  1.    5
  2.    10
  3.    25
  4.    100
 Discuss Question
Answer: Option B. -> 10




Question 10. Which design pattern suggest multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request?
  1.    Singleton pattern
  2.    Chain of responsibility pattern
  3.    State pattern
  4.    Bridge pattern
 Discuss Question
Answer: Option B. -> Chain of responsibility pattern




Latest Videos

Latest Test Papers