Answer :

Bqre

Answer:

True

Explanation:

A while-loop is a block of code that will run over and over as long as a certain condition is met. That condition will always return a boolean value (true/false). If the boolean returned from the condition holds the value: 1 (true), then the code will run. If it holds the value: 0 (false), then the code will not run and the loop will terminate. Once a loop terminates, the code after the loop is executed as normal.

In the first attachment you can see an example of a while loop in action. I'm initiating a variable, i, with the value of 0. I'm printing i's value to the console then incrementing its value with every execution. The loop terminates once i is no longer smaller than 5 (this is our condition).

The output for this code can be found in the second attachment.

View image Bqre
View image Bqre