Inheritance and Composition
Data Structures
Recursion
Algorithms
100

The Java reserve word required in the class header to support inheritance


What is “extends”?

100

a LIFO data structure that supports undo feature in many applications


What is a stack?

100

A method for breaking down complex problems into smaller subproblems


What is recursion?

100

What are the least efficient sorting algorithms


What is BubbleSort and Selection Sort?

200

the relationship of objects associated with inheritance


What is the IS-A relationship?   (A MotorCycle is-a Bicycle)

200

a data structure that does not permit duplicate elements


What is a HashSet?

200

What can replace a recursive approach to solving a problem?


What is a loop or iterative approach?

200

How is algorithm efficiency measured?


What is Big(O)?

300

the relationship a Lego EV3 Robot has to its sensors and motors


What is a HAS-A relationship  (An EV3 robot has-a GyroSensor)?

300

This FIFO data structures works well for reservations and lineups


What is a queue?

300

The two main components of a recursive method


What is the base case and recursive case?

300

What algorithm is good for searching paths in a maze?


What is depth first searching?

400

Design pattern in programming that enables HAS-A relationship (ex  Tesla has-a ElectricMotor)


What is composition?

400

a data structure that support key:value pairs


What is a HashMap?

400

The condition when the recursion should end


What is the base case?

400

Sorting algorithm that uses divide and conquer to sort large amounts of data


What is merge sort?

500

The keywords in Java that enables access to the methods in the base class


What is extends and super?

500

The syntax to instantiate a queue “lineup”  to store client names as a LinkedList


What is Queue<String> lineup = new LinkedList<String>();

500

recursive calls to procedures and functions are very repetitive, there is a very heavy use of the stack and can cause system to crash


What is stack overflow?

500

The algorithm that made Google billions of dollars


What is Pagerank?