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

1. True/False: If a condition in a pre-test loop can never be met, the loop is an infinite loop.

2. True/False: If the following statement is the first line of aForloop, on the first pass through the loop,X will have the value of2 .
For (X = 1; X <= 10; X+2)

3. True/False: If the following statement is the first line of aForloop, N is the limit value.
For (X = 1; X <= N; X+3)

1. F
2. F
3. T

Computer Science & Information Technology

You might also like to view...

Performing sophisticated mathematical calculations, tracking weather patterns, monitoring satellites, and performing other complex, dedicated tasks are all actions performed by a ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Constant variables:

a. Can be assigned values in executable statements. b. Do not have to be initialized when they are declared. c. Can be used to specify array sizes, thereby making programs more scalable. d. Can be used to specify array sizes, but this makes programs harder to understand.

Computer Science & Information Technology