• ¿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 2 fuera de 5 páginas
Examen

Cpsc 2150 Final Exam Verified 100%

Document preview thumbnail
Vista previa 2 fuera de 5 páginas

CPSC 2150 FINAL EXAM VERIFIED 100%

Vista previa del contenido

CPSC 2150 FINAL EXAM VERIFIED 100%
___________ A class called account overview that contains the code to present the
different accounts to the user, and allow them to view high-level information, or select
an account to view in detail - ANSWER-View

____________ A class called LoanAppProcess that will contain the code to handle the
process of a customer applying for a loan. It will use boundary objects to gather
information from the user, and then create entity objects that calculate whether the
customer is approved for the loan - ANSWER-Controller

____________ A class called LoanAppScreen that would contain the code to produce
the user interface that the user will use to apply for a loan - ANSWER-View

____________ A class called mortgage that will hold the information about a mortgage (
the number of years, interest rate, monthly payment. ) - ANSWER-Model

_____________ A class called Credit Check that holds the information about a
customers credit history - ANSWER-Model

_____________ A class called Transfer that handles the process of transfer money
from one bank account to another - ANSWER-Controller

__________________ A class called account manager that will handle the process of
viewing information about accounts. Account manage does not contain the account
information, nor does it interact with the user directly, but is the communication channel
that connects the classes that do - ANSWER-Controller

___________________ objects are responsible for the actual flow of the program. They
may enforce a certain order of event, and help our other objects interact with each other
- ANSWER-Control

_____________________ objects represent an interaction between the system and the
user, or another external system - ANSWER-Boundary

_____________________ objects represent some real world concepts or obejct, such
as employee, a car, or a pizza - ANSWER-Entity

____________________________ are used to tie our private data variables in the
implenetation to the abstract concepts that appear in our interface spcification. -
ANSWER-Correspondences

_____________________A class called Login screen that will contain the code to
create the login screen and allow the user the user to enter their login information -
ANSWER-View

, ___________________A class called bankAccount that contains information about a
customer's bank account such as account number, balance, etc. - ANSWER-Model

A _________________ can implement a _________________. - ANSWER-Class,
Interface
Abstract class, Interface

A __________________ can extend an _______________________. - ANSWER-They
have to be of the same type
Interface, Interface
Class, Class
Class, Abstract Class

A _____________________ is any deviation of the observed output from the expected
or specified
output - ANSWER-Failure

A successful test case will reveal ... - ANSWER-A Failure

A(n) _________________ leads to a(n) _____________________ which leads to a(n)
_____________________ - ANSWER-Fault, Erroneous State, Failure

An ____________________ object is an object who's abstract value can never really
change. Any change to this object are actually changing the memory location and
leaving the original abstract value the same in the old memory location. We can use
these objects to avoid aliasing errors. - ANSWER-Inmutable

At which time is it safe to assume that the invariant of a class is true? - ANSWER-After
the constructor for the object has completed
At the beginning of a public method
After a public method has finished

Can you rely on the results of a previous test case for your current test can when using
JUnit testing? - ANSWER-NO

Consider the following code:

List<Integer> myList = new ArrayList<>();
Integer X = 36;
myList.add(X);
X = 42;
Will myList contain the number 36 after the code runs? - ANSWER-Yes (Immutable
Objects-- Wrapper Class)

Información del documento

Subido en
6 de marzo de 2025
Número de páginas
5
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$11.49

¿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
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
CLOUNDLite
4.0
(131)
Vendido
665
Seguidores
389
Artículos
12410
Última venta
4 días 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