Answer the following statements true (T) or false (F)
1. The condition in the while statement is tested at the end of each pass
2. If there are no statements in the body of a while loop that can cause the loop- repetition condition to become false, then there will be an infinite loop when the program executes
3. In counter-controlled loops, the count-control variable must be initialized to zero before the loop begins.
4. The loop-repetition condition can be false before the loop attempts to execute.
5. The body of a for statement might not get executed at all.
1. (False)
2. (True)
3. (False)
4. (true)
5. (True)
You might also like to view...
A ____ is a computer on a network used to store files.
A. modem B. router C. server D. protocol
The value of the modulus binary expression is a remainder.
Answer the following statement true (T) or false (F)