
Assignment No.6

Quiz
•
Computers
•
University
•
Hard

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
Similar Resources on Wayground
10 questions
Computational Thinking

Quiz
•
KG - University
10 questions
Good Website Design Quiz

Quiz
•
11th Grade - University
10 questions
Simulation_Lab2_Week1

Quiz
•
University
6 questions
DATA CLUSTERING ALGORITHM TEST 2

Quiz
•
University
11 questions
Week 2 Quiz

Quiz
•
University
10 questions
OPERATING SYSTEM (COMPUTER ARCHITECTURE)

Quiz
•
University
10 questions
SDA Lab Quiz 3 A & B

Quiz
•
University
5 questions
G05 System Design II

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University