PYTHON DESIGN PATTERN QUIZ DESCRIPTION

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 of the below author is not part of GOF 

  • Erich Gamma
     

  • Gang  pattern

  • Richard helm 

  • Ralph Johnson

It is important to reduce coupling among the design patterns so that they can treated as independent entities. 

  • True 
     

  • False 

A framework is reusable mini architecture that serves as foundation which other design patterns can be applied ?

  • True
     

  •  False 

The concept and technique discuss for ______ can be use in conjunction with the pattern base approach 

  • Architectural design 
     

  •  Component level design 

  • User interface design 

  •  All of the following

Which of the following describes the Visitor pattern correctly?

  • In this pattern, a visitor class is used which changes the executing algorithm of an   element class.
            

  • This pattern is used to separate application's concerns.

  • This pattern is used to decouple presentation tier and business tier.

  • This pattern is used in EJB persistence mechanism.

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 is not one of the element of design pattern ?

  • Context 
     

  •   Environment 

  • Problem 

  • Solution 

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

  • TRUE

  • FALSE

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

  • True

  • False

Which of the following pattern is used when there is one-to-many relationship between objects such as if one object is modified, its depenedent objects are to be notified automatically?

  •  Iterator Pattern
               

  • Mediator Pattern

  • Memento Pattern

  • Observer Pattern

Patterns is…

  • It solves a software design problem
     

  • It is a model proposed for imitation

  •  All of these

  •    None of these

Which design pattern ensure that only one object of particular class gets created 

  • Singleton pattern
     

  • Filter pattern

  • State pattern

  • Bridge pattern

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

  • Iterator Pattern 
           

  • Facade  pattern

  • Builder pattern

  • Bridge pattern

What does SDLC stands for?

  • System Design Life Cycle
     

  • Software Design Life Cycle

  •  Software Development Life Cycle

  • System Development Life cycle

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

Patterns important due to…

  • They captured design accessible to novices and other experts
     

  • They capture expert design knowledge

  • None of these

  • All of these

RubberNecking is an example of classic generative pattern 

  • TRUE

  • FALSE

Most user interface design pattern are fall with one of the ____ categories of pattern.

  • 5

  • 20

  • 10

  • 25

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

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

  • Aesthetics 
     

  •  Design focus 

  • Granularity 

  •  Design focus  and Granularity 

Which of the following pattern focus on the design patterns movement?

  •  Data Structures and Algorithms
     

  • Programming Idioms

  • Mid-Level Design Patterns

  • Architectural Styles

What does MVC pattern stands for 

  • Mock view control
     

  • Model view control

  • Mock view class 

  • Model view class

A visitor class is used which changes the executing algorithm of an element class…

  • Business Delegate Pattern
     

  • Composite Entity Pattern

  • Visitor Pattern     

  • MVC Pattern

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

  •  Observer pattern
     

  • Factory Pattern

  •  Facade pattern

  • Singleton method pattern

 ——– is a design pattern?

  • Structural
     

  • Abstract Factory

  •   Behavioral

  • All of these

Finding patterns builds by others that address design problems is often more difficult that recognizing patterns in the application to be built 

  • True
     

  • False 

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 pattern is used to separate application's concerns?

  • Visitor Pattern
                 

  • MVC pattern 

  • Business Delegate Pattern

  • Composite Entity Pattern

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