Strings
Loops/Boolean Logic
Arrays/Array Lists
Classes
Miscellaneous
100
Returns how many characters are in a String.
What is length()?
100
The value that would make the follow code return true: return a == 2 * (a / 10 + a % 10); (2 or 8 or 18 or 28 or 128)
What is 18?
100
A collection of primitive values OR objects.
What is an array?
100
The method that creates an instance of the class.
What is the Constructor?
100
This occurs when a call to an array or a String has exceeded its length.
What is an IndexOutOfBoundsException?
200
Returns true or false depending on if the String has the same word in it.
What is contains?
200
The time you would use a while loop instead of a for loop.
What is when you don’t know how many times you need to loop (indefinite loop)?
200
A collection of objects.
What is an Arraylist?
200
The ability to derive a new class from an existing one.
What is inheritance?
200
Based on Big O Notation, the data type (ArrayList, LinkedList, or Array) that is best suited adding an item to the front of the list.
What is a LinkedList?
300
Allows the programmer to take pieces of Strings and save them in new Strings.
What is substring?
300
The number of times you would loop through the following: int x = 10; ?while (true)?{ if ( x > 15)? break;? else ? x -= 1;? }
What is Infinitely or until the computer ran out of memory?
300
The syntax used to refer to the number of rows and columns of in a 2-D array.
What is a array.length (row) and array[i].length (column)?
300
A reference to an object that is currently also referred to by another reference. Each reference is a/an _______ of another.
What is an Alias?
300
A recursive solution to factorials.
What is ?
400
Allows a programmer to combine Strings to form a new String.
What is concatenate?
400
The thing you would code in the following loop header to break out if the score was not between 0 and 100. while ( _____________ )?{?…….?}
What is while ( score >= 0 && score <= 100 )?{?…….?} ?
400
A sorting algorithm in which each value is inserted in a sorted subset of the entire list.
What is Insertion Sort?
400
A Java term that is used to indicate that a reference does not currently refer to any object.
What is a Null Reference?
400
The code that would that given would display "800-749-2000 Pizza Palace" if the missing statement was replaced.
What is super(tel) OR setTelephoneNumber(tel)?
500
This method uses lexicographical analysis.
What is compareTo?
500
A while loop that prints out the elements in an integer array until the integer is greater than 10 and an even number.
What is ?
500
A sorting algorithm in which each value is placed in its final sorted position.
What is selection sort?
500
The class that cannot be instantiated and cannot be used unless another class derived from it is created?
What is the abstract class?
500
A method in a class that is not used for an individual object.
What is a static method?