A ___________ is a name for a location in the computers memory where data can be stored.
variable
When an object is created from a class it is called _____________.
instantiation
The ____________ operator returns the remainder of one number divided by another number.
modulus (mod) (%)
A critical thing to remember when writing a while statement is that it ______________ have a semicolon after the parentheses of the while loop header.
does not
What is the binary conversion for 23 (base 10)?
10111 (base 2)
The ____________ operator is represented by the = sign and assigns a variable a value.
assignment
Rectangle(int x, int y, int width, int height)
Rectangle is the name of the _____________ and x, y, width and height are the formal parameters.
constructor
What is wrong with the following?
if x < y
x *= 2;
missing parentheses around boolean expression
if (x < y)
x *= 2;
The ________ statement will completely break out of the loop, and move control to the statement immediately following the loop.
break
Where should your phone be placed when you are in class?
In the class phone pockets. On your way into class. Go do that now if you didn't.
A ______ method performs an action without returning any value.
void
A && (!A || B) is equivalent to:
❏ A && B
❏ A || B
❏ !(A || B)
❏ true
❏ false
A && B
The ____________ statement will jump to the end of the loop, skipping over any other statements inside the loop, continuing the execution of the loop as designed.
continue
What date is AP CS A exam for 2022?
May 4th
Many programs use a ________________ where the user can interact with dialog boxes, buttons, menus and tabs to enter data and receive output.
GUI - Graphical User Interface
The ________ method of the Scanner class will read ONE word, or any series of characters up to a blank space or pressing the Enter key, from the console.
next()
Two object references, or object variables are considered ___________ if they both refer to the same object, that is, they each contain the same address.
aliases
If we have an outer loop and inner loop, we are likely describing a what?
A nested loop
What is Mrs. Staffen's first name?
Wendy (but don't call her that)
+= -= %= /= *= are all examples of __________ assignment operators.
compound
The Integer class is called a __________ class.
wrapper
_____________________ is a very important law or identity in Boolean Algebra, which is the logical branch of mathematics on which programming logic is based.
not (A and B) is equivalent to not A or not B; and
not (A or B) is equivalent to not A and not B.
De Morgan's Law
How many dollar signs will this code segment print?
for(int i = 7; i > 3; i--)
System.out.print("$");
7 - 3 = 4
The correct answer is 4.
What is Mr. Thompson's first name?
Chase (but don't call him that)