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)

Computer Science & Information Technology

You might also like to view...

In SQL the bit type is equivalent to which Visual Basic data type?

a. Short b. Boolean c. Integer d. String

Computer Science & Information Technology

You can use the spacebar or arrow keys to move from one slide to the next.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

____ is an open source language developed at Google.

FORTRAN Visual Basic F# Go

Computer Science & Information Technology

Any method that is not declared void must contain a return statement with a corresponding return value.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology