PYTHON DESIGN PATTERN QUIZ DESCRIPTION

Which of the following is not valid Classification of design pattern 

  • Behavioral  patterns 
     

  • Creational  patterns 

  • Structural patterns 

  • Java patterns 

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.

  • Chain of responsibility
     

  • Template method

  • Interpretor

  • Prototype

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

  •  Adapter pattern
     

  • Builder pattern

  • Facade pattern

  • Prototype pattern

RubberNecking is an example of classic generative pattern 

  • TRUE

  • FALSE

Which of the following is not valid design pattern 

  • Singleton 
     

  • Factory 

  • Command 

  • Java

Which design pattern works on data And action taken based on data provided ?

  • Command Pattern 
     

  • MVC  pattern

  • Singleton pattern

  • Facade  pattern

Most mistakes in patterns based design can be avoided by judicious use of review techniques.

  • TRUE

  • FALSE

——– design pattern defines one-to-many dependency between objects…

  •  Observer pattern
     

  • Factory Pattern

  •  Facade pattern

  • Singleton method pattern

Web design pattern can be classified by considering which of the dimension listed below?

  • Aesthetics 
     

  •  Design focus 

  • Granularity 

  •  Design focus  and Granularity 

In which of the following pattern, a visitor class is used which changes the executing algorithm of an element class?

  • Visitor Pattern
     

  • MVC Pattern

  • Business Delegate Pattern

  • Composite Entity Pattern

Real life design solutions may not always lend themselves to a top down approach 

  • True
     

  •    false

Which design pattern suggest multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request?

  • Singleton pattern
     

  • Chain of responsibility pattern

  • State pattern

  • Bridge pattern

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

  • Behavioral patterns
     

  • Functional patterns

  • Navigation patterns

  • Both b and c

Which design pattern suggest multiple classes?

  •  Chain of responsibility pattern
     

  • Bridge pattern

  • Singleton pattern

  • State pattern

 Mobile app interface patterns can be represented as a collection of best of breed screen images.

  • True

  • False

If we serialize a singleton object and deserialize it then the result object will be same.

  • TRUE

  • FALSE

Which of the below author is not part of GOF 

  • Erich Gamma
     

  • Gang  pattern

  • Richard helm 

  • Ralph Johnson

Which of the following are level of design focus that can be use to categorized webApp pattern ?

  • Behavioral  patterns 
     

  • Functional  patterns 

  • Navigational patterns 

  • Both b and c are correct

What does MVC pattern stands for 

  • Mock view control
     

  • Model view control

  • Mock view class 

  • Model view class

 ——– is a design pattern?

  • Structural
     

  • Abstract Factory

  •   Behavioral

  • All of these

Which of the following is the correct list of entities of Business Delegate pattern?

  • Business Delegate, LookUp Service, Business Service
                

  • Client, Business Delegate, LookUp Service, Business Service

  • Client, LookUp Service, Business Service

  • Client, Business Delegate, Business Service

Which one pattern creating duplicate object?

  •  Filter Pattern
     

  • Prototype Pattern

  •   Bridge Pattern

  •     Builder Pattern

Which of the following is a pattern language?

  • resembles the structure of natural languages
     

  • encompasses a collection of patterns

  • is implemented using hypertext

  • All of the above

Which of the following chooses and standardizes patterns for a problem domain promotes software reuse and ,hence quality and productivity ?

  • Promoting communication 
     

  • Streamlining documentation 

  • Increasing development efficiency 

  • Supporting software reuse 

Which of the following represents The (static) structure and (dynamic) behavior of the pattern?

  •  Name
     

  •   Application

  • Consequences

  •   Form

Which of the following pattern refers to creating duplicate object while keeping performance in mind?

  • Builder Pattern
     

  • Bridge Pattern

  • Prototype Pattern

  • Filter Pattern

Before choosing an architectural design pattern it must be accessed for its appropriateness to the application and overall architecture style. 

  • True

  • False

Which of the following are level of design focus thet can be use to categorized webApp pattern? 

  • Behavioral pattern 
     

  •  Behavioral pattern and Navigation pattern 

  •  Layout pattern 

  • Navigation pattern 

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

  • Iterator Pattern 
           

  • Facade  pattern

  • Builder pattern

  • Bridge pattern

Which of the level of granularity that can be used to describe webApp patterns. 

  • Architectural pattern
     

  •  Component pattern 

  •  Design pattern 

  • A , B , C