Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Need some help with a CMIS141 Introduction to JAVA Test for Week 3

Need some help with a CMIS141 Introduction to JAVA Test for Week 3

QuizNote:It is recommended that you save your response as you complete each question.Question 1(1 point)Analyze the following code.int x = 0;if (x > 0);{System.out.println(“x”);}Question 1 options:The symbol x is never printed.The value of variable x is printed once.No output is produced.The symbol x is printed once.SaveQuestion 2(1 point)What is y after the following switch statement?int x = 0;int y = 0;switch (x + 1) {case 0: y = 0;case 1: y = 1;
Background image of page 01
default: y = -1;}Question 2 options:10None of the above-1SaveQuestion 3(1 point)Analyze the following code.int x = 1;while (0 < x) && (x < 100)System.out.println(x++);Question 3 options:The loop runs for ever.The code does not compile because (0 < x) & (x < 100) is not enclosed in a pair of parentheses.The code does not compile because the loop body is not in the braces.The number 2 to 100 are displayed.The number 1 to 99 are displayed.SaveQuestion 4(1 point)
Background image of page 02

Show 

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"