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

1) Counter-controlled repetition requires only a control variable, an initial
value for the control variable and an increment or decrement.
2) Counting loops should be controlled with whatever data type most closely
reflects the operations taking place, whether that is an int, float or double.
3) The for repetition statement handles the details of counter-controlled
repetition.
4) A control variable that's declared in a for statement header is not
accessible outside of the body of the for statement.

1) F
2) F
3) T
4) T

Computer Science & Information Technology

You might also like to view...

The operators that cannot be overloaded are __________, ___________, and ____________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

If you need to tunnel through NAT, using UDP is a good choice, which could mean using which of the following?

A. IPSec B. ISATAP C. Teredo D. 6to4

Computer Science & Information Technology