Inheritance and Composition
Data Structures
Recursion
Algorithms
Miscellaneous
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?

100

The IS-A relationship in programming (ex. A Vampire is-a Person)

What is inheritance?

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

200

The HAS-A relationship in programming (ex. A Lego EV3 robot has-a UltraSonic sensor)

What is composition?

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?

300

The reserve word in Java used to access methods from the base class

What is super?

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?

400

Write the header for a class where a PoliceDog extends or inherits features from Dog

What is "public class PoliceDog extends Dog"?

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?

500

The operator used by super to access methods from the base or superclass

What is the dot operator?

M
e
n
u