Examlex

Solved

What Is the Output of This Loop

question 104

Multiple Choice

What is the output of this loop?
Int i = 0;
Boolean found;
While (i < 20 && !found)
{
Int sum = i * 2 + i * 3;
System.out.print(sum + " ") ;
If (sum > 50)
{
Found = true;
}
I++;
}


Definitions:

Conscious Behaviors

Actions that individuals are aware of doing and are able to control, typically involving thought and intention.

Controlled Processes

Activities that require conscious, deliberate thought and effort, distinguished by their high demand on cognitive resources.

Conscious Awareness

The mental state of being fully present and fully perceptible of internal and external events or experiences at the moment.

Hypnotized

A state of highly focused attention or concentration, often associated with relaxation and heightened suggestibility.

Related Questions