You control a loop's repetitions by using either a counter or a(n) ____ value.

A. sentinel
B. standard
C. end
D. constant


Answer: A

Computer Science & Information Technology

You might also like to view...

Which of the following expressions returns the trigonometric sine of x?

a. sin(x). b. sine(x). c. trig_sin(x). d. trig_sine(x). ANS a. sin(x).

Computer Science & Information Technology

Which of the following will count down from 10 to 1 correctly?

a. for (int j = 10; j <= 1; j++) b. for (int j = 1; j <= 10; j++) c. for (int j = 10; j > 1; j--) d. for (int j = 10; j >= 1; j--)

Computer Science & Information Technology

In Windows 8.1, virtualized folders shared by default with other users of the computer are also called __________

a. Libraries b. Shares c. Encrypted folders d. Private folders

Computer Science & Information Technology

What is the most important component of a computer?

a. CPU b. random access memory c. motherboard d. universal serial bus

Computer Science & Information Technology