0.5 points QUESTION 1. Analyze the following frient double double switch (4) Case 5x Et de Thursday es points QUESTIONS Given is 2 which of the following is true? C- 0.5 points QUESTION 1. What is in Muthandom? ospite QUESTION 10 1. Aumex is 0. What is the date of the following x>0) System.out.print is greater than else if System.out.pris less than System.out.print("equals 0% palan QUESTION 11 1. Which of the Boolout expression below has income 0.5 points QUESTION 12 1. Analyze the following code 10) AX (10) System.out.print is ben 10 and 100% There Check 0.5 points QUESTION 13 1.punem is a method is the clos EM As paints | QUESTION 14 1. The expression ava123 evaluate to 1. o assign a double variable d to a float variable x, you write X= (float)d; D x = (int)d; x = (long)d =d; QUESTION 2 1. To assign a value 1 to variable x, you write 1; EX=1 C 1:=x; C1 = x; CX= 1; QUESTION 3 1. 24 % 5 is C2 D3 0.5 QUESTION 4 1. Which of the following are not valid assignment statements? CX= 55 55 = x; CX= 56 + . CX+=3 QUESTION 6 1. Which of the following assignment statements is illegal? short s = 10: Cintt = 4.5; float f= . 34; Dint t = 23; QUESTION 7 1. Analyze the following fragment: double x = 0; double d = 1; switch (d + 4) { case 5: x++; case 6: --X; } The switch control variable cannot be double. The required break keyword is missing in the switch statement. Cd + 4 should be replaced by 5. The required default keyword is missing in the switch statement QUESTION 8 1. Given |x-21 >= 4, which of the following is true? CX-2 >= 4 || X-2 = 4 && X-2 = 4 || -2= 488 x -2 0) System.out.print("x is greater than 0"); else if (x 0) 11 (* 0) && (*> 0) D(true) && (3 > 4) 0.5 points QUESTION 12 1. Analyze the following code: if (x 10) System.out.println("x is between 10 and 100"); The statement compiles fine, but has a runtime error. The statement has compile errors because 0x 10) must be enclosed inside parentheses and the printin(...) statement must be put Inside a block. C The statement has compile errors because 0x 10) must be enclosed inside parentheses, The statement compiles fine