Variables and Statements
Conditionals (if)
Loops
Terminology
Code Segments
100

This is the print statement in Java

What is System.out.println()?

100

For a if statement to run the inside condition must be this 

What is true?

100

There are this many types of loops

What is the number 2?

100

Java is this type of language 

what is a programming language?

100

System.out.println("Hello");

What is Hello?

200

This type of variable is used to store decimals

What is a double?

200

This is the expression used to compare two numerical values

What is the double equal sign (==)?

200

This is the main difference between a for loop and a while loop

What is the format?

200

These are used to make notes and explain code to other people Java without effecting the program 

What are comments?

200

 int number = 10;      

    if (number > 0) {           

        System.out.println("The number is positive.");  

    } 

    else {          

        System.out.println("The number is negative.");

}

What is The number is positive?

300
This type of variable is used to store true or false statements 

What is a boolean?

300

This is the kind of statement gives you the most number of options (3 total)

What is an else-if statement ?

300

A loop will continue to run until the inside condition is this

What is false?
300

This type of error is most common in Java

What is a syntax error?

300

int result = 20;

result *= 2;

result /= 5;

result += 2;

result %= 8;

System.out.print(result);

What is the number 2?

400

This type of variable is used to store words and phrases

What is a String?

400

This is what to use when you want to get a random number.

What is the Math.random() method?

400

x++;

The purpose of this code segment is to 

What is increase the value of x by 1?

400

This phrase is used to describe a specific letter or word in a String

what is a substring?

400

 int number = 10;

    if (number > 0 && number <= 10) {

        System.out.println("Hi");

        } 

    else if (number > 10 && number <= 20) {

        System.out.println("Hello");

        } 

        else {

            System.out.println("Bye");

        }

What is Hi?

500

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

What is type casting?

500

These are the names of the three logical operators used in Java.

What are and(&&), or(||) , not(!)

500

The total number part that make up a loop

What is the number 3 (initialization, condition, and change)?

500

This term is used to describe the >,<,==, >=, <= symbols in Java  

What is a relational operator(comparator)?

500

     int x = 1;

     int sum = 0;

        while (x <= 3) {

            sum += x;

            x++;

        }

        System.out.println(sum);

What is the number 6?

M
e
n
u