What is "ArrayLists have dynamic size, they can shrink and grow as needed"?
What is Recursion?
What is Math?
What is length?
What is the name of the Marvel Rivals characters whose ultimate consumes the enemy team then spits them out after a period of time?
Who is Jeff the Land Shark?
Index of the last element in an arraylist called nums.
What is nums.size() - 1?
A return statement or simply getting to the last line of code in a method (with that last line not including a recursive method call).
What is a way to get back to the previous call?
The validity of this statement:
Since the random method comes from a class, you must make an object of the class it comes from and then call it from that object.
What is False?
The method that gives you a portion of the string, you provide indices to denote the portion.
What is substring?
This is a 2 parter:
- The team who won the College Football Playoffs
Who are the Oregon Ducks and the Ohio State buckeyes?
What is "add appends value to end of list, set replaces the value at a given index"?
The number of calls that lead to 3 levels of recursion.
What is 4?
The behavior of the random method.
What is returns a random double between 0.0 and 1.0 (not inclusive of 1.0)?
The method that returns a number and takes in a string. The number being the position of the given string in the string the method was called upon.
What is indexOf?
Mr. Lopez's teammate in Basketball.
Who is Kendall?
The number of values in a list after the following calls are performed:
add, add, add, add, remove, get, set, set, add, add, size, add, set, remove, remove, remove
The result of the call foo(5) for the method:
int foo(int n){
int product = n * foo(n - 1);
}
What is infinite recursion?
x = Math.random() * 10;
What is 0 <= x < 10?
The result of:
"wick".substring(1, 3)
The board game in which you play with black and white stones on a grid and aim to surround more territory than your opponent.
What is Go?
list.set(0, 5) + list.set(list.size() - 1, 10)
What is the sum of the first and last elements in list?
The result of the call foo(4) for the method:
int foo(int n){
if(n == 1){
return 1;
}
return n + foo(n - 1);
}
What is 10?
The range of values for the following expression:
(int) (Math.random() * 20) + 10
What is 10, 11, 12, ..., 28, 29?
The result of:
"augusta".indexOf("at");
What is -1?
Cartoon show where 3 friends get into hijinks in pursuit of a jawbreaker candy.
What is Ed, Edd, and Eddy?