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 1 out of 4 pages
Exam (elaborations)

Data Structures and Algorithms

Document preview thumbnail
Preview 1 out of 4 pages

Data Structures and Algorithms

Content preview

CS 2336 FINAL EXAM

Dense Graph - Correct Answers-A graph with many edges compared to the number of vertices

Recursion - Correct Answers-A process where a function calls itself

Base Condition - Correct Answers-A condition that keeps the function from infinitely repeating

Wrapper Objects - Correct Answers-Objects that provide a way to use primitive data types

Autoboxing - Correct Answers-Conversion of a primitive value into an object of the
corresponding wrapper class ( int to Integer )

Unboxing - Correct Answers-Conversion of a wrapper type to its corresponding primitive type (
Integer to int )

Subclass - Correct Answers-the class that inherits from another class (Child)

Superclass - Correct Answers-The class that is being inherited from (Parent)

Polymorphism - Correct Answers-Allows us to inherit methods from classes and make them
perform different tasks

Generics <T> - Correct Answers-Parameterized types. The idea is to allow any type to be
parameterized to methods, classes, and interfaces.
(They only work with reference types and primitive arrays, not primitives)

Array List - Correct Answers-A list of objects whose reference are stored in an array

Linked List - Correct Answers-Contains elements in a list that point to each other, allowing for
easier expansion.

.add() - Correct Answers-function that adds objects in a data structure

.remove() - Correct Answers-function that removes objects in a data structure

.get() - Correct Answers-function to access index in a data structure

Document information

Uploaded on
June 13, 2025
Number of pages
4
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.49

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

Sold
0
Followers
0
Items
222
Last sold
-




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