Search Header Logo

Structural and Behavioral Design Patterns

Authored by Halyna Melnyk

Computers

Professional Development

Used 59+ times

Structural and Behavioral Design Patterns
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Purpose Defines an abstract object structure independently of the implementation object structure in order to limit coupling.

Use When

Abstractions and implementations should not be bound at compile time.

Adapter

Bridge

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Convert the interface of a class into another interface clients expect and let classes work together, that could not otherwise because of incompatible interfaces.

Bridge

Adapter

Composite

Observer

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Represents an operation to be performed on the elements of an object structure. This Pattern lets you define a new operation without changing the classes of the elements on which it operates.

Bridge

Mediator

Observer

Visitor

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Permits classes with disparate interfaces to work together by creating a common object by which they may communicate and interact.

Use When

A class to be used doesn’t meet interface requirements.

Adapter

Bridge

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Compose objects into tree structures to represent part-whole hierarchies. / Composite lets clients treat individual objects and compositions of objects uniformly.

Bridge

Adapter

Composite

Observer

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Purpose Defines an abstract object structure independently of the implementation object structure in order to limit coupling.

Use When

Abstractions and implementations should be independently extensible.

Adapter

Bridge

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.

Strategy

Mediator

Observer

Adapter

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?