Search Header Logo

Behavioral patterns

Authored by Halyna Melnyk

Computers

Professional Development

Used 34+ times

Behavioral patterns
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following patterns lets you define a new operation on an object structure without changing the class of the objects?

Please select the best answer.

Chain of Responsibility

Visitor

Strategy

Mediator

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following patterns allows an object to notify interested listeners of changes to its state?

Please select the best answer.

Chain of Responsibility

Command

Iterator

Observer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following patterns allows multiple objects an opportunity to process a request without guaranteeing that any of them must process it?

Please select the best answer.

Chain of Responsibility

Command

Memento

Mediator

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an object pattern that encapsulates interchangeable algorithms in objects so the algorithm can vary independently of the classes that use it?

Please select the best answer.

Chain of Responsibility

Command

Strategy

Mediator

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which of the following pattern, a class behavior or its algorithm can be changed at run time?

State Pattern

New Object Pattern

Strategy Pattern

Template Pattern

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Behavioral design patterns are patterns responsible for identifying common communication patterns between objects.

true

false

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A behavioral design pattern is classified into ___ different types.

4

6

8

10

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?