Assignment No.6

Assignment No.6

University

7 Qs

quiz-placeholder

Similar activities

REVIEW: VISUAL MEDIA

REVIEW: VISUAL MEDIA

University

8 Qs

Software Design Architecture Quiz 2

Software Design Architecture Quiz 2

University

10 Qs

CREATING ONLINE PRESENCE WITH WIX

CREATING ONLINE PRESENCE WITH WIX

KG - Professional Development

10 Qs

B. Com CA II year

B. Com CA II year

University

10 Qs

What’s a Software Design Pattern?

What’s a Software Design Pattern?

University

6 Qs

CASE TOOL 12/08/2020

CASE TOOL 12/08/2020

University

10 Qs

Spring and Spring boot

Spring and Spring boot

University

10 Qs

Computational Thinking Quiz

Computational Thinking Quiz

6th Grade - Professional Development

11 Qs

Assignment No.6

Assignment No.6

Assessment

Quiz

Computers

University

Hard

Created by

Rupali Mangrule

Used 9+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is correct about Behavioral design patterns.

These design patterns are specifically concerned with communication between objects.

These design patterns provide a way to create objects while hiding the creation logic, rather than instantiating objects directly using new operator.

These design patterns concern class and object composition. Concept of inheritance is used to compose interfaces and define ways to compose objects to obtain new functionalities.

None of the above.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following describes the Command pattern correctly?

In this pattern a class represents functionality of another class.

This pattern creates a chain of receiver objects for a request.

This pattern provides a way to evaluate language grammar or expression

In this pattern a request is wrapped under an object as command and passed to invoker object.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following describes the Strategy pattern correctly?

In this pattern, a class behavior changes based on its state.

In this pattern, a null object replaces check of NULL object instance.

In this pattern, a class behavior or its algorithm can be changed at run time.

In this pattern, an abstract class exposes defined way(s)/template(s) to execute its methods.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the Publish-Subscribe messaging model, the subscribers register themselves in a topic and are notified when

new messages arrive to the topic. Which pattern does most describe this model?

Adapter

Notifier

Observer

State

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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:

Strategy Pattern

Abstract Factory Pattern

Visitor Pattern

State Pattern

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which type of design patterns are specifically concerned with communication between objects?

Creational Design Patterns

Structural Design Patterns

Behavioral Design Pattern

J2EE Design Patterns

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In below list which is not a Behavioral Design Pattern?

Command

Observer

Proxy

Strategy