wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Evaluasi Pemahaman DDD

Total questions: 20

Worksheet time: 20mins

Name
Class
Date
1.

Please Choose all the answers that apply :

a)

open host service pattern

b)

Anticorruption layers pattern

c)

Separate ways problem

d)

Shared Kernel Pattern

e)

Customer-supplier pattern

2.

Which design pattern you would use to encapsulate the logic of retriecing the object references from the backing enterprise data store. Please choose only one answer :

a)

Value Object.

b)

Aggregate.

c)

Entity.

d)

Repository.

3.

What is the role of the Application layer in model driven design paradigm? please choose only one answer:

a)

Renders output to the user and gathers user gestures.

b)

implements entities persistence, and layers communication

c)

encapsulates the core of the business logic

d)

harmonize and monitors the application activities and its progress

4.

Which design pattern you would use to enforce the domain constraints and ensure data integrity? Please choose only one answer.

a)

Value Object

b)

Aggregate

c)

Entity

d)

Repository

5.

what is the difference between communicational and functional cohesion?

Please choose all the answers that apply:

a)

communicational cohesion modularize subsystems that operate on the same data.

b)

communicational cohesion modularize subsystems that collaborate together on a single task.

c)

functional cohesion modularize subsystems that operate on the same data.

d)

functional cohesion modularize subsystems that collaborate together on a single task

6.

which design pattern you would use to encapsulate the process of complex object creation?

Please choose only one answer:

a)

value object

b)

factory

c)

aggregate

d)

repository

e)

entity

7.

A bundle of related objects which are treated from the client prescriptive as a single unit exposing a root object.

Please choose only one answer:

a)

value object

b)

aggregate

c)

entity

d)

repository

8.

What is the role of the presentation layer in model driven design paradigm?

Please choose only one answer:

a)

implements entities persistence, and layers communication

b)

encapsulates the core of the business logic

c)

renders output to the user and gathers user gestures

d)

harmonize and monitors the application activities and its progress

9.

When would you use the separate ways pattern?

Please choose only one answer:

a)

to create domain independent context maps

b)

to create domain context maps that interact with legacy systems

c)

to create highly intersecting domain context maps

10.

which design pattern you would use to create independent domain context maps?

Please choose only one answer:

a)

open host services pattern

b)

anticorruption layers pattern

c)

separate ways pattern

d)

shared kernel pattern

e)

customer supplier pattern

11.

How should you implement an Entity?

Please choose only one answer:

a)

mutable object

b)

immutable object

c)

both are correct

12.

Which domain design pattern you would use to state object ownership and boundaries?

Please choose only one answer:

a)

aggregate design pattern

b)

factory design pattern

c)

repository design pattern

13.

When would you use the shared kernel pattern?

Please choose only one answer:

a)

to create domain independent context maps

b)

to create domain context maps that interact with legacy systems

c)

to create highly intersecting domain context maps

14.

which of the following are considered domain driven design patterns? (choose 2)

Please choose all the answers that apply:

a)

aggregates

b)

layered architecture

c)

model view controller (MVC)

d)

Data Access Object (DAO)

15.

how would you implement a bank account object?

Please choose only one answer:

a)

as transfer object

b)

as a value object

c)

as an entity

16.

What is the role of the Domain layer in model driven design paradigm?

Please choose only one answer:

a)

harmonize and monitors the application activities and its progress

b)

renders output to the user and gathers user gestures

c)

encapsulates the core of the business logic

d)

implements entities persistence, and layers communication

17.

When would you use the anticorruption layers pattern? Please choose only one answer:

a)

to create domain independent context maps

b)

to create domain context maps that interact with legacy systems

c)

to create highly intersecting domain context maps

18.

What is the most suitable programming language concept for implementing the model of Domain Driven Design paradigm?

Please choose only one answer:

a)

Procedural languages such as C, Pascal

b)

Object-oriented programming such as Java, C++

c)

Aspect oriented programming such as AspectJ

19.

Which domain design pattern handles object creation and storage?

Please choose all the answers that apply:

a)

aggregate design pattern

b)

factory design pattern

c)

repository design pattern

20.

How should you implement a value object?

Please choose only one answer:

a)

mutable object

b)

immutable object

c)

both are correct