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...

By default, when turned on, Outlook will archive messages every ____ days.

A. 6 B. 7 C. 14 D. 21

Computer Science & Information Technology

The Font group is located on the ________ tab

A) Edit B) Insert C) Home D) View

Computer Science & Information Technology

Removable media drives that plug into PnP interfaces, such as USB 2.0 or 3.0 or FireWire, should be recognized by the system as soon as they are connected to the port

Indicate whether the statement is true or false

Computer Science & Information Technology

One approach suggested to ensure privacy is the small result rejection, in which the system rejects (returns no result from) any query, the result of which is derived from a small number, for example, five, of records. Show how to obtain sensitive data by using only queries derived from six records

What will be an ideal response?

Computer Science & Information Technology