Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CSE 205 midterm UPDATED Exam Questions and CORRECT Answers

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
20-08-2025
Written in
2025/2026

CSE 205 midterm UPDATED Exam Questions and CORRECT Answers A(n) ________________ is a step-by-step process for solving a problem. - CORRECT ANSWER - algorithm A(n) ___________________ object is one that is made up, at least in part, of other objects. - CORRECT ANSWER - aggregate A ___________ is a way of visually representing how classes and objects interact. - CORRECT ANSWER - UML diagram

Show more Read less
Institution
CSE 205
Course
CSE 205

Content preview

CSE 205 midterm UPDATED Exam
Questions and CORRECT Answers
A(n) ________________ is a step-by-step process for solving a problem. - CORRECT
ANSWER - algorithm


A(n) ___________________ object is one that is made up, at least in part, of other objects. -
CORRECT ANSWER - aggregate


A ___________ is a way of visually representing how classes and objects interact. - CORRECT
ANSWER - UML diagram


A _____________can be thought of as a blueprint for a set of objects. - CORRECT
ANSWER - class


Which of the following method headers is most likely a header for a mutator method? -
CORRECT ANSWER - public void setAge(int newAge)


_________ are methods that change the value of an instance variable, and are often referred to as
"setters." - CORRECT ANSWER - Mutators


If a service is so complex that it cannot be reasonably be implemented using one method, it is
often helpful to decompose it to make use of ________________ support methods. - CORRECT
ANSWER - Private


All methods (with the exception of constructors) must specify a return type. What is the return
type for a method that does not return any values? - CORRECT ANSWER - void



A variable can always be referenced anywhere in a program. - CORRECT ANSWER -
False

, The ________________ reference always refers to the currently executing object. - CORRECT
ANSWER - this


A ______reference is a reference that is not pointing to any object. - CORRECT
ANSWER - null


The versions of an overloaded method are distinguished by ___________________________. -
CORRECT ANSWER - the number, type and order of their parameters


___________________ are two methods in the same class that have the same identifier, but a
different number, type or order of parameters. - CORRECT ANSWER - Overloaded
methods


A _______________ variable is shared among all instances of a class. - CORRECT
ANSWER - static



A final variable is a __________ - CORRECT ANSWER - constant


a _____________________ is one that is accessible from outside the object and a private
variable is one that cannot be accessed outside of the object. - CORRECT ANSWER -
public variable


Methods that can be called directly through the class name and do not need to have an object
instantiated are called _________________. - CORRECT ANSWER - static



Methods declared as _______ cannot be overridden. - CORRECT ANSWER - final


__________ occurs when a child class defines a method with the same signature as a method in
the parent class. - CORRECT ANSWER - Overriding

Written for

Institution
CSE 205
Course
CSE 205

Document information

Uploaded on
August 20, 2025
Number of pages
10
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.49
Get access to the full document:

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


Also available in package deal

Thumbnail
Package deal
CSE 205 Bundled Exam Questions WITH CORRECT Answers
-
25 2025
$ 118.89 More info

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.
MGRADES Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1459
Member since
2 year
Number of followers
105
Documents
97742
Last sold
23 hours ago
MGRADES

Welcome to MGRADES ,Based at Stanford University in California. I guarantee success and you may end up coming back again and again. We do this for you . We offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

235 reviews

5
97
4
50
3
53
2
15
1
20

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