100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Software Engineering Final Exam (Answered) $13.49   Add to cart

Exam (elaborations)

Software Engineering Final Exam (Answered)

 1 view  0 purchase
  • Course
  • Institution

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? Abstr...

[Show more]

Preview 1 out of 4  pages

  • April 13, 2023
  • 4
  • 2022/2023
  • Exam (elaborations)
  • Questions & answers
avatar-seller
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.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller joynjoki63. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

66579 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.49
  • (0)
  Add to cart