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
Document preview thumbnail
Preview 4 out of 35 pages
Exam (elaborations)

CSE 205 FINAL EXAM 2026 PRACTICE TEST QUESTIONS AND DETAILED DATA STRUCTURES AND ALGORITHMS BREAKDOWN

Document preview thumbnail
Preview 4 out of 35 pages

CSE 205 FINAL EXAM 2026 PRACTICE TEST QUESTIONS AND DETAILED DATA STRUCTURES AND ALGORITHMS BREAKDOWN

Content preview

CSE 205 FINAL EXAM 2026 PRACTICE TEST
QUESTIONS AND DETAILED DATA STRUCTURES
AND ALGORITHMS BREAKDOWN


◉ You can always use a sub-class object in place of a super class
object. Answer: True


◉ We can implement a getter method without a setter method, thus
creating a read-only value. Answer: True


◉ A Stack is a Last In First Out (LIFO) data structure. 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? Answer: Polymorphism


◉ The benefit of data hiding is that we can make an object truly
responsible for what it knows and what it does. Answer: True


◉ An "has a" relationship is implemented by composition. Answer:
True

,◉ Stacks and Queues can be implemented as ArrayLists or
LinkedLists. Answer: True


◉ During what activity do we directly analyze the language of the
problem to identify objects, their attributes, and their behaviors?
Answer: none of these


◉ In general, a setter method will take at least one argument.
Answer: true


◉ A default constructor takes _____ argument(s). Answer: 0


◉ In general, data hiding means that an object keeps what it knows
private. Answer: True


◉ You can create an object from a concrete class, but not from an
abstract class. Answer: True


◉ A subclass that inherits instance variables from its super class
cannot declare additional instance variables. Answer: false


◉ The "extends" keyword is not used to specify inheritance in Java.
Answer: false

,◉ A super class extends a sub-class. Answer: false


◉ Encapsulation is about assigning responsibilities to objects.
Answer: True


◉ Which object oriented element is used to define "is a"
relationships? Answer: Inheritence


◉ A name defined in an inner scope is not available outside that
block. Answer: True


◉ The "inherits" keyword is used to specify inheritance in Java.
Answer: False, (extends keyword is used to specify inheritance in
java.)


◉ The Java keyword throw is used to catch an exception. Answer:
False


◉ Any recursive algorithm can be written iteratively. Answer: True


◉ The index of the last element of an array with a size of 5 elements
is _____. Answer: 4

, ◉ We can use a variable as an index expression to access an array
element in Java. Answer: True


◉ To help us collect information from the user through the keyboard
in Java, we use a(n) _____. Answer: Scanner


◉ Java Boolean literal values are expressed in all lowercase. 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 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

Document information

Uploaded on
April 14, 2026
Number of pages
35
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
£10.56

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.
GradeGalaxy
4.4
(9)
Sold
142
Followers
4
Items
49121
Last sold
5 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed 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