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 Final Study-Guide UPDATED ACTUAL Exam Questions and CORRECT Answers

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

CSE 205 Final Study-Guide UPDATED ACTUAL Exam Questions and CORRECT Answers If you do not declare a default constructor in your class, the compiler will always create a default constructor for you. - CORRECT ANSWER - True You can always use a sub-class object in place of a super class object. - CORRECT ANSWER - True We can implement a getter method without a setter method, thus creating a read-only value. - CORRECT ANSWER - True

Show more Read less
Institution
CSE 205
Course
CSE 205

Content preview

CSE 205 Final Study-Guide UPDATED
ACTUAL Exam Questions and CORRECT
Answers
If you do not declare a default constructor in your class, the compiler will always create a default
constructor for you. - CORRECT ANSWER - True


You can always use a sub-class object in place of a super class object. - CORRECT
ANSWER - True


We can implement a getter method without a setter method, thus creating a read-only value. -
CORRECT ANSWER - True



A Stack is a Last In First Out (LIFO) data structure. - CORRECT ANSWER - true


Which object oriented element best allows us to designing and implementing families of related
types that share outward similarities, but have specialized behaviors? - CORRECT
ANSWER - Polymorphism


The benefit of data hiding is that we can make an object truly responsible for what it knows and
what it does. - CORRECT ANSWER - True



An "has a" relationship is implemented by composition. - CORRECT ANSWER - True


Stacks and Queues can be implemented as ArrayLists or LinkedLists. - CORRECT
ANSWER - True


During what activity do we directly analyze the language of the problem to identify objects, their
attributes, and their behaviors? - CORRECT ANSWER - none of these

,In general, a setter method will take at least one argument. - CORRECT ANSWER - true



A default constructor takes _____ argument(s). - CORRECT ANSWER - 0


In general, data hiding means that an object keeps what it knows private. - CORRECT
ANSWER - True


You can create an object from a concrete class, but not from an abstract class. - CORRECT
ANSWER - True


A subclass that inherits instance variables from its super class cannot declare additional instance
variables. - CORRECT ANSWER - false


The "extends" keyword is not used to specify inheritance in Java. - CORRECT
ANSWER - false



A super class extends a sub-class. - CORRECT ANSWER - false



Encapsulation is about assigning responsibilities to objects. - CORRECT ANSWER -
True


Which object oriented element is used to define "is a" relationships? - CORRECT
ANSWER - Inheritence


A name defined in an inner scope is not available outside that block. - CORRECT
ANSWER - True



The "inherits" keyword is used to specify inheritance in Java. - CORRECT ANSWER -
False, (extends keyword is used to specify inheritance in java.)

, The Java keyword throw is used to catch an exception. - CORRECT ANSWER - False



Any recursive algorithm can be written iteratively. - CORRECT ANSWER - True


The index of the last element of an array with a size of 5 elements is _____. - CORRECT
ANSWER - 4


We can use a variable as an index expression to access an array element in Java. - CORRECT
ANSWER - True


To help us collect information from the user through the keyboard in Java, we use a(n) _____. -
CORRECT ANSWER - Scanner



Java Boolean literal values are expressed in all lowercase. - CORRECT ANSWER - True


Which of the following would have a exponential Big O run-time complexity?


Compute the area of a circle given the radius
Determine if two logical statements are equivalent by brute force
Find the phone number in a phone book, given a person's name
Delete a value from an ArrayList

none of these - CORRECT ANSWER - Determine if two logical statements are equivalent
by brute force


Which of the following would have a logarithmic Big O run-time complexity?


Determine if two logical statements are equivalent by brute force
Compute the area of a circle given the radius
Delete a value from an ArrayList

Written for

Institution
CSE 205
Course
CSE 205

Document information

Uploaded on
August 20, 2025
Number of pages
26
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.99
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
21 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