FREE Ultimate Design Pattern Question and Answers

0%

In a communication diagram, the sequence number is always followed immediately by a(n) _______.

Correct! Wrong!

A behavioral object-level pattern is the ___ pattern.

Correct! Wrong!

Explanation:
The strategy pattern, often referred to as the policy pattern, is a behavioral software design pattern used in computer programming that makes it possible to choose an algorithm during runtime.

Which of the following is a domain layer class's duty?

Correct! Wrong!

Retrieve and update attribute values using ___ methods.

Correct! Wrong!

Explanation:
To access or retrieve a specific variable value from a class, utilize the get method. The variables are kept in a set value. To retrieve and store the data values appropriately is the entire purpose of the get and set commands.

Which of the following pertains to a view layer class's duties?

Correct! Wrong!

It is a ___ pattern, the prototype pattern.

Correct! Wrong!

Explanation:
A creational design pattern used in software development is the prototype pattern. It is applied when a prototype instance, which is copied to make new objects, specifies the kind of objects to construct.

Which of the following pertains to a data access layer class's duties?

Correct! Wrong!

Premium Tests $49/mo
FREE April-2024