Variables and Printing
On One Condition(al)
Time for Math Class
The Road More Traveled (Not Java)
Syntax
200

This is the print statement in Java (either one)

What is System.out.println()?

200

boolean bool = 5 >7 - That code segment sets the value of bool to this

What is false?

200

Math.sqrt() does this function, like with the number 49

What is square root?

200

A good place to practice when you first start driving is in this area - a place where you put your car when you're not on the road

What is a parking lot?

200

This is the correct way to declare a single-line comment in Java.

//

400

Have a rational number? Use this variable type that stores decimals!

What are doubles?

400

This is the expression used to compare two values (non-Strings)

What is == (double equals)?
400

Math.pow() does this function, resulting in numbers like 81

What is exponents?

400

This is the road that Fort Settlement Middle School is located on

What is Elkins Road?

400

This method serves as the entry point for a Java application.

What is public static void main(String[] args)?

600

i=i+1 - This is what that code segment does

What is adds one to i?

600

This is the kind of statement that is usually found in between if and else statements

What are else if statements?

600

Math.random() generates a random number from this range

What is 0 to 1, including 0 but not 1?

600

This even road goes east-west through Houston and stretches all the way from Santa Monica in California to Jacksonville in Florida. It's also the main road to get from Katy to Downtown Houston

What is I-10?

600

This symbol is used to end a statement in Java.

What is ; (semicolon)?

800

DAILY DOUBLE

This is what it's called when you change one variable type into another

800

When you use this kind of statement, it's usually to catch anything that didn't fit the conditions of the blocks before it

What is an else statement?

800

Math.ceil(), Math.round(), and this function are all rounding methods in the Math class

What is Math.floor()?

800

This is a type of highway that does not have traffic lights or stop signs - watch out!

What is a freeway?

800

This access modifier allows a member to be accessible only within its own class.

What is private?

1000

Adding two Strings together is called this - kind of a long name for such a simple concept

What is concatenation?

1000

This is what to use when comparing equality in Strings

What is .equals?

1000

System.out.println(Math.pow(7,3)); - This is the result of that code segment

What is 343?

1000

This highway network in Germany is known for its lack of a speed limit

What is the Autobahn?

1000

This primitive data type in Java is used to store a single 16-bit Unicode character.

What is char?

M
e
n
u