Search Header Logo

Builder pattern

Authored by Triết Minh

Information Technology (IT)

University

Used 1+ times

Builder pattern
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The Bloch builder is specifically for creating only one class of objects.

Yep

Nope

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these must builders abstract?

The process of construction

The object constructed

The families of objects constructed

The object duplication process

3.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

​Which of these does the GoF builder pattern make use of that the Bloch builder doesn't?

A builder interface

Incomplete object hiding

A separate class from the object

Step-by-step construction methods

4.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Builders of the same interface cannot create objects of different interfaces.

True

False

5.

MULTIPLE CHOICE QUESTION

20 sec • 3 pts

Choose the odd pattern out, based on category.

Template Method

Abstract Factory

Singleton

Builder

6.

MULTIPLE CHOICE QUESTION

20 sec • 3 pts

Both the Bloch builder and the GoF builder can create immutable objects.

Yah

Nah

7.

MULTIPLE SELECT QUESTION

20 sec • 3 pts

Choose the patterns that can be created with a Builder, according to the lecture.

Composite

Bridge

Observer

Mediator

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?