Find the Error
Name the Type
What will output?
Misc CSA
100

for (int x = 0; x < 2; x++){

    System.out.print("Hello World"); 


Should output:

"Hello World"

"Hello World"

the statement should be println not print

100

9

int

100

       for (int num = 100; num > 1; num /= 2){

            System.out.println(num);

        }

100

50

25

12

6

3


100

How many times will this for loop run?

for (int x = 0; x < 14; x++){

   System.out.println("Hello");

}

14

200

num = 25;

if (num > 0){

   System.out.println("works");

}

This code should print out "works" but it does not. Why?

num should be declared as type int

200

false

boolean

200

String cat = "dog";

String dog = "cat"; 

String dogcat = "catdog";

System.out.println("cat" + dogcat + cat + dog + dog);

catcatdogdogcatcat

200

What day is the AP bowl on?

April 19th

300

int num = 9.0; 

if (num > 5){

   System.out.print("bigger number");

}

num should be a double and not an int

300

"123abc"

string
300

if (true && false == false){

   System.out.println ("0");

else if (true || false == true){

   System.out.println("1");

   }

}

0

300

How many bytes does it take to represent the RGB values plus alpha?

4

500

FINAL JEOPARDY

Fill in the blank 

Road Work Ahead, ____________________


Uh yeah, I sure hope it does