Exploring Design Patterns

Exploring Design Patterns

Assessment

Flashcard

Computers

University

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

21 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What are creational design patterns primarily concerned with?

Back

Object creation mechanisms

2.

FLASHCARD QUESTION

Front

Which of the following is NOT a creational design pattern? Factory Method, Builder, Singleton, Observer

Back

Observer

3.

FLASHCARD QUESTION

Front

In the Singleton pattern, how many instances of a class can exist?

Back

1

4.

FLASHCARD QUESTION

Front

What is the main purpose of the Factory Method pattern?

Back

To provide a way to create objects without specifying the exact class of object that will be created.

5.

FLASHCARD QUESTION

Front

What is the primary focus of structural design patterns?

Back

The primary focus of structural design patterns is to define how objects and classes can be combined to form larger structures.

6.

FLASHCARD QUESTION

Front

Which of the following is a structural design pattern? Observer, Decorator, Adapter, Singleton

Back

Adapter

7.

FLASHCARD QUESTION

Front

What does the Adapter pattern do?

Back

The Adapter pattern enables incompatible interfaces to work together.

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?

Discover more resources for Computers