Values and Variables
Loop-de-Loops and Logic
Classes
Java, Arrays and ArrayLists
Whatever those Last Lectures were About - I DON'T KNOW, Isn't the Semester Over Already? UGH!
100

This datatype is used to represent the absence of type, and is often used to denote a method that does not return a value.

What is
"void"?

100

This type of loop is guaranteed to always execute the code in its body at least once.

What is a
"Do-While Loop"?

100

This is an object that is created from a class definition and has personal copies of the fields and methods of that class.

What is an
"Instance of a Class"?

100

This number is the index position of the last element of an array.

What is
the array's length minus 1?

100

While recursive algorithms are usually smaller in code size and simpler when compared to iterative loops, they are also often worse than loops in this particular regard.

What is "Efficiency"?

200

The char datatype represents alphanumeric characters as numbers based on this widely recognized standard.

What is
"Unicode"?

200

If statements use this 2-state datatype to determine whether to branch into "then" or "else" code blocks.

What is a
"boolean"?

200

This is a visual representation of a class's fields, constructors, and methods that specify data type, scope, and return type where applicable.

What is a
"UML Diagram"?

200

While the size of arrays are unchangeable once created, this type of object contains an array that automatically grows or shrinks as needed to fit the number of elements.

What is an
"ArrayList"?

200

In order to swap the positions of two variables in a list, it is usually necessary to first create this.

What is a "temporary", "third", or "swap" variable?

300

Trying to set an integer variable with the value of a float or double is an error, but you can force the compiler to let you do it anyway by using this operator.

What is a
"Cast Operator"?
Ex: int x = (int)4.2;

300

This type of switch case is chosen when none of the other cases match the slector.

What is
"default"?

300

Classes may be provided this without requiring the programmer to define it.

What is a
"Default Constructor"?

300

While Java code lives in .java source code files, the Java compiler transforms the .java source code into bytecode and places it in this this kind of output file.

What are
".class files"?

300

This sorting algorithm works by constantly comparing adjacent pairs of values in a list and then choosing whether or not to swap their positions.

What is
"Bubble Sort"?

400

This is the format string one would use with printf or String.format to print a decimal number with two decimal places, such as for displaying monetary values.

What is
"%.2f"?

400

This statement is used to exit a switch case, and can also be used to exit a loop early.

What is
"break" or "return"?

400

This happens when several methods share a common name, but differ in parameter type and/or count.

What is
"Method Overloading"?

400

Arrays in Java can have this many dimensions.

What is
"Any Number"?

400

This sorting algorithm works by finding what should be the next element of the sorted list, and then doing a single swap to place that element in its sorted position.

What is
"Selection Sort"?

500

Methods receive copies of values for thier input variables, so they can only modify the original value of an input parameter if it is this kind of variable.

What are
"Reference variables"?

500

As an alternative to loops, this class of algorithms work by having methods call themselves with smaller versions of the original problem.

What are
"Recursive Algorithms"?

500

This keyword makes it so that a class's method or field may be called without having to create an instance of that class.

What is
"static"?

500

In addition to standalone applications, Java code can also be made into these small programs meant for embedding into a web browser.

What are "applets"?
(Don't confuse these with Javascript)

500

This efficient search algorithm works by constantly splitting the search space in half, reducing the time it takes to find the target. However, it requires that the search space be pre-sorted.

What is
"Binary Search"?

M
e
n
u