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
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