A statement that if proved true, performs a function or displays information.
What is an if statement?
Used for whole numbers.
What is an integer?
Part of the method declaration. It is the combination of the method name and the parameter list.
What is a method signature?
A special type of subroutine called to create an object.
The instructional team for this class.
Who are Nathan, Efrain, Gregorio, and Isabella?
Used to repeat a section of code a number of times, commonly recognized for using an ' i '.
What is a for loop?
Holds one of two possible values intended to represent the truth values of logic.
What is boolean?
A special kind of variable used in a method to refer to one of the pieces of data provided as input to the method.
What is a parameter?
Methods that act upon the class.
What is static?
He tweeted "A$AP Rocky released from prison and on his way home to the United States from Sweden. It was a Rocky Week, get home ASAP A$AP!"
Who is Donald Trump?
Used to repeat a section of code based on a given boolean condition.
What is a while loop?
Used to define numeric variables holding numbers with decimal points.
The process in which a function calls itself.
What is recursion?
The number of times the following code executes:
int num = 0;
while(num <= 9){
System.out.println("Hello World");
num++;
}
What is 10?
The name of one of the main characters in "Superbad".
Who is Mclovin?
An instance of a class.
What is an object?
Used for a combination of any characters that appear on a keyboard, such as letters, numbers, and symbols
What is String?
A collection of elements which are typically of the same data type.
What is an array?
the value of sum after the following code is executed:
int [] nums = {5, 9, 3, 6};
int sum = 0;
for(int i = 0; i < nums.length; i+2){
sum += nums[ i ];
}
What is 8?
A comma used after the penultimate item in a list of three or more items, before ‘and’ or ‘or’
What is the Oxford Comma?
A collection of objects typically called nodes that point to the next.
What is a linked list?
Used to store single characters.
What is char?
The two main parts of recursion
What are the base case and the recursive call?
The value in nums[4] after the following is executed:
int [] nums = new int[6];
for(int i = 1; i < nums.length; i +=2){
nums[i] = i*i;
}
What is 0?
Known as the first computer programmer.
Who is Ada Lovelace?