• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 4 pages
Exam (elaborations)

Software Engineering Final Exam (Answered)

Document preview thumbnail
Preview 1 out of 4 pages

oftware 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. Decorator Which design pattern makes us of a "double dispatch" mechanism between it's components? Visitor Which design pattern is primarily about simplifying the interface to a complex set of classes/objects? Facade The __________ pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy Which "Gang of Four" design pattern category is the best choice for the Factory Method pattern? Creational In the Template Method design pattern, how do we, as designers, ensure that subclasses do NOT override our implementation of a method for a step in the template method algorithm? We make our method "final." The textbook's motivating example for this design pattern was coffee drinks and the various optional condiments that may be included. Decorator What git command do you use to cause git to start tracking changes in a file? git add Which "annotation" is used by the JUnit framework to execute a method prior to every test method? @BeforeEach What method is commonly used in JUnit tests to ensure correctness of actual and expected values? assertEquals Customer collaboration OVER contract negotiation Working software OVER comprehensive documentation Responding to change OVER following a plan Individuals and interactions over processes and tools Which of the process methodologies is considered a linear, sequential model? Waterfall Which of the following are modern, current "build tools"? (There may be multiple selections.) make & ant Suppose you pull changes from GitHub and before you have a chance to push those changes, your teammate has pushed his own changes. Specifically he pushed changes he made to file X and you also made changes to file X. How does GitHub handle this? you'll be required to pull his changes before you do a push and file X will then contain the changes from both of you


Document information

Uploaded on
December 27, 2022
Number of pages
4
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers
$16.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BESTEXAMINER01
2.3
(4)
Sold
27
Followers
23
Items
2685
Last sold
7 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

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

Student with book image

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

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

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