
Assignment No.6
Authored by Rupali Mangrule
Computers
University
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Adobe Photoshop
Quiz
•
University
11 questions
Access
Quiz
•
10th Grade - University
10 questions
UX Design
Quiz
•
University
12 questions
OOP- Class+Object
Quiz
•
University
10 questions
Diagramas UML: Casos de uso, actividades y objetos
Quiz
•
University
10 questions
Notes on Blender 3D - Section 5/6
Quiz
•
6th Grade - University
10 questions
INTRODUCTION TO OOPS
Quiz
•
University
10 questions
Unit 24 - Java Basics
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade