If Statements
Variable Types
Order of Operations
For Loops
Surprise/Misc
100

What goes in the parenthesizes of an if-statement

What is a conditional statement?

100

Is this legal: int dracula = 2.0;?

Illegal

100

out.println(4 - 3 * 2)

-2

100

(1-word answer, verb) Another word for what a for loop does each time 'i' is increased

Iterate

100
OOP stands for...

Object Oriented Programming

200

What is printed: if("SKELETON").equals("skeleton"){ print("dropped a bow")} else { print("dropped arrows")}

dropped arrows

200

Is a double primitive?

Yes

200

out.println(9.0/3)

3.0

200

How many times will this for-loop add 2 to C: for(int i=3;i<9;i++){c+=2}

6 times.

200

A primitive data type and nonprimitive data type (multiple combinations of answers)

What is a (int/long/double/short) and a String?

300

What does this print: if(int i =0; i++){ print i; } print ("none");

Gives an error! That belongs in a for-loop

300

Create a string list called spider with a length of 5

String[] spider=new String[5]

300

Where does modulus, %, fit in PEMDAS?

With M & D (same precedence)

300

I want to iterate through an ArrayList called Z. What is missing from this for loop setup: for(int i=0; (EMPTY) ; i++)

i < Z.size()

300

23 (base 10) in binary (base 2)

What is 0001 0111?

400

RIDDLE: I am tall when I'm new and grow shorter when I'm old. Every Halloween you can find me glowing inside a jack-o'-lantern. What am I?

A candle

400

Is this legal: String zombie = 1992;

Illegal

400

out.println( 4 * (int)(3.5 * 2) / 2.0 );

14.0
400

How many times will this for-loop add 2 to A: for(int i=11;i>3;i-=2){A+=2}

4 times.

400

17 (base 10) in base 3

What is 122?

M
e
n
u