logo

Crowdly

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

Looking for 2025W Software Design, Architecture (CS-3620-01) test answers and solutions? Browse our comprehensive collection of verified answers for 2025W Software Design, Architecture (CS-3620-01) at moodle31.upei.ca.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

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?

View this question

Select all that are true:

100%
100%
100%
0%
100%
View this question

Select the design principles that are applied in the Strategy Pattern

100%
100%
0%
100%
100%
View this question

Multithreading

timing issues are typically resolved using

.

View this question

The decorator design pattern is also known as the design pattern

View this question
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.
View this question

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

0%
0%
0%
0%
0%
View this question

The Abstract Factory pattern should be used when:

View this question

The ability of an object reference variable to point

to objects of different types is called:

0%
0%
0%
0%
View this question

What is wrong with this

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

View this question

Want instant access to all verified answers on moodle31.upei.ca?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!