Multiple Choice
boolean found = false;
Int num;
Int square;while (!found)
{
Num = console.nextInt() ;
Square = num * num;
If (square > 40)
Found = true;
}The above code is an example of a(n) ____ loop.
A) flag-controlled
B) counter-controlled
C) EOF-controlled
D) sentinel-controlled
Correct Answer:

Verified
Correct Answer:
Verified
Q2: Which of the following is true about
Q4: The loop condition of a while loop
Q9: ch = inFile.next().charAt();while (inFile.hasNext())<br>{<br>System.out.println(ch);<br>Ch = inFile.next().charAt();<br>}The above
Q10: What is value of x after the
Q11: The following for loop executes 21 times.
Q11: int i;for (i = 0; i <=
Q12: Which executes immediately after a continue statement
Q16: The output of the Java code, assuming
Q33: Control variables are automatically initialized in a
Q50: In the case of an infinite while