Design Patterns/Design Pattern Mcq Set 1 Sample Test,Sample questions

Question:
 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

1.Chain of responsibility

2.Template method

3.Interpretor

4.Prototype

Posted Date:-2021-12-28 09:44:05


Question:
 Which design pattern suggests 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

Posted Date:-2021-12-28 09:30:33


Question:
 Which of the below is not a valid design pattern?

1.Singleton

2.Factory

3.Command

4. Java

Posted Date:-2021-12-28 09:28:26


Question:
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

Posted Date:-2021-12-28 09:46:21


Question:
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

Posted Date:-2021-12-28 09:45:57


Question:
Design patterns are divided into three fundamental groups.

1.Behavioral Patterns

2. Creational Patterns

3.Structural Patterns

4.J2EE Patterns

Posted Date:-2021-12-28 09:27:51


Question:
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

Posted Date:-2021-12-28 09:45:00


Question:
Most user interface design patterns fall with in one of ____ categories of patterns.

1.5

2.10

3.25

4.100

Posted Date:-2021-12-28 09:47:12


Question:
What does MVC pattern stands for?

1.Mock View Control

2.Model view Controller

3.Mock View Class

4.Model View Class

Posted Date:-2021-12-28 09:31:17


Question:
Which design pattern ensures that only one object of particular class gets created?

1.Singleton pattern

2.Filter pattern

3.State pattern

4. Bridge pattern

Posted Date:-2021-12-28 09:30:09


Question:
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

Posted Date:-2021-12-28 09:44:33


Question:
Which design pattern provides a single class which provides simplified methods required by client and delegates call to those methods?

1.Adapter pattern

2.Builder pattern

3.Facade pattern

4.Prototype pattern

Posted Date:-2021-12-28 09:29:47


Question:
Which design pattern represents a way to access all the objects in a collection?

1.Iterator pattern

2.Facade pattern

3.Builder pattern

4. Bridge pattern

Posted Date:-2021-12-28 09:30:54


Question:
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

Posted Date:-2021-12-28 09:46:46


Question:
Which design pattern works on data and action taken based on data provided?

1.Command pattern

2.Singleton pattern

3.MVC pattern

4.Facade pattern

Posted Date:-2021-12-28 09:31:44


Question:
Which of the below author is not a part of GOF (Gang of Four)?

1.Erich Gamma

2.Gang Pattern

3. Richard Helm

4.Ralph Johnson

Posted Date:-2021-12-28 09:28:52


Question:
Which of the below is not a valid classification of design pattern?

1.Creational patterns

2.Structural patterns

3. Behavioural patterns

4.Java patterns

Posted Date:-2021-12-28 09:29:20


Question:
Which of the following are levels of design focus that can be used to categorize WebApp patterns?

1.Behavioral patterns

2.Functional patterns

3.Navigation patterns

4.Both b and c

Posted Date:-2021-12-28 09:48:11


Question:
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

Posted Date:-2021-12-28 09:45:26


Question:
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

Posted Date:-2021-12-28 09:43:35


More MCQS

  1. Design Pattern Mcq Set 1
  2. Design Patterns MCQ QUESTIONS AND ANSWER
  3. Software Design Modeling MCQ QUESTIONS AND ANSWER
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!