Which of the following loops is guaranteed to execute at least once?

NetherCraft 0
QUESTION 29 Which of the following loops is guaranteed to execute at least once? o counter-controlled whie loop o for loop o do...while loop o sentinel-controlled whie loop QUESTION 30 The value of the expression 1 + 5 % 3 is 0 2 03 QUESTION 31 Which of the following is the loop condition in the following for loop? for (i 1<20; i++) System.out.printin Hello World) System.out.printh) o i 1 O System.out.printin Hello World) QUESTION 32 Which of the following has the highest value? QUESTION 33 What is the output of the following program segment? int x 14 int y 60; while (((y-x) % 3) ! 0) { System.out printy y-y-5 System.out.printn):; O 60 55 o 60 55 50 o 60 55 50 45 O None of these
media%2F438%2F438a7f91-44aa-4bd2-b5ed-52

Also Check This  I need a good psychic on Staten Island, can anyone help me?

Answer

29) c. do-while

30) c. 3

31) b. i < 20

32) d. ‘a’

33) a. 60 55

34) c. 3

35) d

;;


Leave a Reply

Your email address will not be published.