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

CPSC 2150 FINAL EXAM VERIFIED 100%

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
06-03-2025
Written in
2024/2025

CPSC 2150 FINAL EXAM VERIFIED 100%

Institution
CPSC
Course
CPSC

Content preview

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)

Written for

Institution
CPSC
Course
CPSC

Document information

Uploaded on
March 6, 2025
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

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.
CLOUND Exam
View profile
Follow You need to be logged in order to follow users or courses
Sold
620
Member since
2 year
Number of followers
389
Documents
11482
Last sold
11 hours ago
PROF MM

HELLO WELCOME TO THIS PAGE WHERE YOU WILL FIND ALL EXAMS ,STUDY GUIDE ,CASE, TESTBANKS AND ANY OTHER STUDY MATERIALS,

4.0

122 reviews

5
64
4
16
3
29
2
3
1
10

Trending documents

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 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

Frequently asked questions