• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 1 fuera de 4 páginas
Examen

Software Engineering Final Exam (Answered)

Document preview thumbnail
Vista previa 1 fuera de 4 páginas

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.

Vista previa del contenido

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.

Información del documento

Subido en
10 de febrero de 2023
Número de páginas
4
Escrito en
2022/2023
Tipo
Examen
Contiene
Preguntas y respuestas
$15.53

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
kiokomiss
2.0
(1)
Vendido
2
Seguidores
1
Artículos
377
Última venta
1 año hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes