Search Header Logo

Design Patterns Quiz

Authored by 小桀 小桀

Other

Used 5+ times

Design Patterns Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

61 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

何者是:可讓用戶端建立一系列的物件,而且不需要指定它們的具體類別

Abstract Factory

Composite

Memento

Adapter

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

何者是:Compose objects into tree structures to represent part-whole hierarchies. Let clients treat individual objects and compositions of objects uniformly.

Abstract Factory

Composite

Memento

Adapter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

何者是:Without violating encapsulation, capture and externalize an object's internal state so that the object can be restored to this state later.

Abstract Factory

Composite

Memento

Adapter

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

何者是:Convert the interface of a class into another interface clients expect. Let classes work together that couldn't otherwise because of incompatible interfaces.

Abstract Factory

Composite

Memento

Adapter

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

何者是:Ensure a class only has one instance, and provide a global point of access to it.

Singleton

Facade

Decorator

Flyweight

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

何者是:確保只有1個物件被做出來

Singleton

Facade

Decorator

Flyweight

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

何者是 class-level的Design Pattern

Factory Method

Prototype

Decorator

Singleton

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?