100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Software Engineering Final Exam (Answered)

Rating
-
Sold
-
Pages
4
Grade
A
Uploaded on
10-02-2023
Written in
2022/2023

Software Engineering Final Exam (Answered) Which pattern helps us eliminate if statements that check for null references? Null object The _______________ pattern converts the incompatible interface of a class into another interface the clients expect. Adapter Which design pattern used the example of families of pizza ingredients? Abstract Factory Which pattern was motivated by the textbook example of weather data displays? Observer Which design pattern is best described by the example of a video game character weapon that changes it's characteristics based on various criteria; for example, a wooden sword or a steel sword or a Valryian steel sword. Strategy Choose the pattern that would cause you to add the following code fragment. t(v); Visitor The template method introduced us to which design principle? Hollywood Principle - "Don't Call Us, We'll Call You" The Singleton design pattern textbook motivating example was what? Chocolate Boiler As the textbook presents it, which of the following is the "dark side" of Java's Observable? It is an abstract class, so it MUST be extended; and your class may already be a subclass. :( In the Template Method design pattern, how do we, as designers, provide subclasses the option of adding custom behavior at key points, such as before/after the algorithm steps. We add a "hook" method that subclasses can override. With which design pattern did the book introduce the design principle of "encapsulate what varies." Strategy Which pattern appears in the Java JDK as ActionListeners on various Swing GUI components? Observer The ________ pattern provides an interface for creating families of related or dependent objects without specifying their concrete classes. Abstract Factory The__________ design pattern attaches additional responsibilities to an object dynamically; thus, providing a flexible alternative to subclassing for extending functionality.

Show more Read less
Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Course

Document information

Uploaded on
February 10, 2023
Number of pages
4
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Software Engineering Final Exam
(Answered)
Which pattern helps us eliminate if statements that check for null references?
Null object
The _______________ pattern converts the incompatible interface of a class into
another interface the clients expect.
Adapter
Which design pattern used the example of families of pizza ingredients?
Abstract Factory
Which pattern was motivated by the textbook example of weather data displays?
Observer
Which design pattern is best described by the example of a video game character
weapon that changes it's characteristics based on various criteria; for example, a
wooden sword or a steel sword or a Valryian steel sword.
Strategy
Choose the pattern that would cause you to add the following code fragment.

n.accept(v);
Visitor
The template method introduced us to which design principle?
Hollywood Principle - "Don't Call Us, We'll Call You"
The Singleton design pattern textbook motivating example was what?
Chocolate Boiler
As the textbook presents it, which of the following is the "dark side" of Java's
Observable?
It is an abstract class, so it MUST be extended; and your class may already be a
subclass. :(
In the Template Method design pattern, how do we, as designers, provide subclasses
the option of adding custom behavior at key points, such as before/after the algorithm
steps.
We add a "hook" method that subclasses can override.
With which design pattern did the book introduce the design principle of "encapsulate
what varies."
Strategy
Which pattern appears in the Java JDK as ActionListeners on various Swing GUI
components?
Observer
The ________ pattern provides an interface for creating families of related or dependent
objects without specifying their concrete classes.
Abstract Factory
The__________
design pattern attaches additional responsibilities to an object dynamically; thus,
providing a flexible alternative to subclassing for extending functionality.
R262,03
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
kiokomiss
2,0
(1)

Get to know the seller

Seller avatar
kiokomiss Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
2
Member since
2 year
Number of followers
1
Documents
384
Last sold
9 months ago
kiokomiss

NURSING STUDY GUIDES/EXAMS AND NOTES ALL VERIFIED BY EXPERTS All my uploaded documents, exams and essays are verified by relevant experts.I can assure an A or at least 90% if you use any of my documents.

2,0

1 reviews

5
0
4
0
3
0
2
1
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions