BE1 - Structural Design Pattern

BE1 - Structural Design Pattern

Professional Development

20 Qs

quiz-placeholder

Similar activities

Android Fundamentals - Day 3 : Activities & Intents

Android Fundamentals - Day 3 : Activities & Intents

University - Professional Development

15 Qs

CUSTOM CONFIGURATION

CUSTOM CONFIGURATION

University - Professional Development

20 Qs

IP Fundamentals Day 1 - TTI Cadetship

IP Fundamentals Day 1 - TTI Cadetship

Professional Development

15 Qs

ADSI: Software engineering

ADSI: Software engineering

11th Grade - Professional Development

22 Qs

Réseaux 6 - Routage

Réseaux 6 - Routage

Professional Development

20 Qs

Behavioral patterns

Behavioral patterns

Professional Development

15 Qs

Object-Oriented Programming Concepts Worksheet

Object-Oriented Programming Concepts Worksheet

Professional Development

15 Qs

Jaringan komputer

Jaringan komputer

Professional Development

17 Qs

BE1 - Structural Design Pattern

BE1 - Structural Design Pattern

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Ryan Ap

Used 12+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of the Adapter design pattern?
To provide a simplified interface for complex subsystems
To allow objects with incompatible interfaces to collaborate
To decouple abstraction from implementation
To efficiently share objects across multiple contexts

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which design pattern is used to separate the abstraction and implementation into two separate class hierarchies?
Adapter
Bridge
Composite
Decorator

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the Bridge design pattern, the abstraction and implementation are connected using:
Inheritance
Composition
Aggregation
Encapsulation

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which design pattern is used to represent part-whole hierarchies?
Adapter
Bridge
Composite
Decorator

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of the Decorator design pattern?
To provide a simplified interface for complex subsystems
To allow objects with incompatible interfaces to collaborate
To separate the abstraction and implementation into two separate class hierarchies
To add behavior dynamically to an object

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the Facade design pattern, the facade class acts as a?
Proxy
Decorator
Adapter
Simplified interface to a complex subsystem

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which design pattern is used to minimize memory usage by sharing common state between multiple objects?
Adapter
Bridge
Composite
Flyweight

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?