Number Bases
Input-Output
Searches and Sorts
Vocabulary
Miscellaneous
100
This is the decimal value of the binary number 1011.
What is 11?
100
This is the command used to print output without including a new line.
What is "System.out.print(String s);"?
100
A searching algorithm in which each element is checked in order.
What is Linear Search? (Or Sequential Search)
100
This is when a class is a child of a parent class, able to use its parent's methods as its own.
What is Inheritance?
100
This is the wrapper for the int primitive.
What is Integer?
200
This is the binary value for the hexadecimal number AD.
What is 10101101?
200
This is the class we use to read input from a stream.
What is the Scanner Class?
200
A sorting algorithm in which each value is inserted in a sorted subset of the entire list.
What is Insertion Sort?
200
This is the difference between a primitive and a reference type in java.
What is: a primitive type stores the value, while a reference type stores the memory location that stores the data.
200
This is the case at which recursion ends.
What is the base case?
300
This is the representation of the number base we use when viewed in any higher number base.
What is "A"?
300
This is the class used to represent a file, needed to read from a file, and this is what you must import to use it.
What is the File Class, and java.io.File (or java.io.*)?
300
A searching algorithm that relies on a divide and conquer strategy to find the given value.
What is Binary Search?
300
This is the difference between static and final in Java.
What is: static is used to make a method or variable accessible by the class without an instance; final is used to denote an entity that cannot later be changed (a constant).
300
Every member variable of a class should have this access modifier.
What is "Private"?
400
The prefix for a base 16 number is ___.
What is 0x?
400
The method used to read an integer is ____. The method used to read a line is ____.
What are "nextInt();" and "nextLine();"?
400
A sorting algorithm that divides the array in half, sorts each half, then combines the halves together.
What is Merge Sort?
400
Though java does not support ____, it emulates the feature through a class's ability to implement multiple ____.
What are "multiple inheritance" and "interfaces"?
400
This is the difference between an abstract class and an interface.
What is: an abstract class can implement methods, while an interface cannot. (In addition: a class can implement multiple interfaces, but can only inherit from one class)
500
This is the value (in base 16) of the two base 16 numbers 11 and A multiplied together.
What is AA?
500
This is a problem that one sometimes gets when reading a new line after reading an integer.
What is: the nextInt() method does not remove the new line character, causing the nextLine() method to read an empty line.
500
A sorting algorithm in which each value is placed in its final sorted position.
What is Selection Sort?
500
This ability is referred to as polymorphism.
What is the ability to store a subclass in a variable of its parent's (or interface's) type.
500
This is the syntax, usage, and main shortcoming for an enhanced for loop? (Also known as a for-each loop)
What is "for(type a : collection)"; it allows you to iterate through all elements in a collection, though it does not tell you their index.
M
e
n
u