logo

Crowdly

2025W Software Design, Architecture (CS-3620-01)

Шукаєте відповіді та рішення тестів для 2025W Software Design, Architecture (CS-3620-01)? Перегляньте нашу велику колекцію перевірених відповідей для 2025W Software Design, Architecture (CS-3620-01) в moodle31.upei.ca.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

What is a design pattern and why is important to formalize/catalog design patterns? What information is generally documented as part of the definition of a design pattern?

Переглянути це питання

Select all that are true:

100%
100%
100%
0%
100%
Переглянути це питання

Select the design principles that are applied in the Strategy Pattern

100%
100%
0%
100%
100%
Переглянути це питання

Multithreading

timing issues are typically resolved using

.

Переглянути це питання

The decorator design pattern is also known as the design pattern

Переглянути це питання
You are creating a framework for applications that can present multiple documents to the user. Two key abstractions in this framework are the classes Application and Document. Both classes are abstract, and clients have to subclass them to realize their application-specific implementations. To create a drawing application, for example, we define the classes DrawingApplication and DrawingDocument.

The Application class is responsible for managing Documents and will create them as required—when the user selects Open or New from a menu. Because the particular Document subclass to instantiate is application-specific, the Application class can't predict the subclass of Document to instantiate — the Application class only knows when a new document should be created, not what kind of Document to create.

This creates a design problem: The framework must instantiate classes, but it only knows about abstract classes, which it cannot instantiate. What design pattern would you use to solve this problem? Explain your decision.
Переглянути це питання

In the Binary Balanceable Tree example discussed in class, which was the factory method?

0%
0%
0%
0%
0%
Переглянути це питання

The Abstract Factory pattern should be used when:

Переглянути це питання

The ability of an object reference variable to point

to objects of different types is called:

0%
0%
0%
0%
Переглянути це питання

What is wrong with this

implementation of a “double-checked” singleton class? (there are 5 errors in this implementation)

Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на moodle31.upei.ca?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!