• 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 2 out of 11 pages
Exam (elaborations)

Cse 2231 Midterm 1 Latest Actual Exam With Verified Questions & Correct Answers

Document preview thumbnail
Preview 2 out of 11 pages

Cse 2231 Midterm 1 Latest Actual Exam With Verified Questions & Correct Answers

Content preview

CSE 2231 Midterm 1 LATEST ACTUAL EXAM WITH
VERIFIED QUESTIONS & CORRECT ANSWERS

Question 1.
Variable

ANSWER
The thing that you assign it too



Question 2.
Program type

ANSWER
boolean , char, int, double, String
and
NaturalNumber, Queue<T>, Stack<T>, Sequence<T>, Set<T>, Map<K,V>



Question 3.
mathematical type

ANSWER
boolean, character, integer, real, string of character
and
integer(nonnegative) string of T, string of T, string of T, finite set of T, finite set of (K,V)



Question 4.
precondition (requires clause)

ANSWER
characterizes the responsibility of the program that uses that method (client)



Question 5.
postcondition (ensures clause)

ANSWER
characterizes the responsibility of the program that implements the method






, Question 6.
terminate

ANSWER
return to the calling program



Question 7.
Universal quantification

ANSWER
something is true for every combination of values that satisfy a certain property "for all"



Question 8.
Existential quantification

ANSWER
something is true for some combination of values
"there exists"



Question 9.
Abstract Class

ANSWER
A partial or incomplete class that contains bodies for some but not all of the methods of the
interfaces it claims to implement



Question 10.
Instantiate

ANSWER
YOU CANNOT INSTANTIATE AN ABSTRACT CLASS



Question 11.
Layers

ANSWER
Basically overriding a method

Document information

Uploaded on
October 11, 2026
Number of pages
11
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$17.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.
TopGradeInsider
4.1
(14)
Sold
194
Followers
1
Items
62615
Last sold
3 days 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