Which of the following statements is false?

a. A sentinel value indicates “end of data entry.”
b. Sentinel-controlled iteration is often called indefinite iteration because the number of iterations is not known before the loop begins executing.
c. A sentinel value must match one acceptable input value.
d. Grades on a quiz are typically nonnegative integers between 0 and 100, so the value –1 is an acceptable sentinel value for grades data.


a. A sentinel value indicates “end of data entry.”

Computer Science & Information Technology

You might also like to view...

Variables used to store integer values should be declared with the keyword.

a) integer b) int c) intvariable d) None of the above.

Computer Science & Information Technology

If you use someone else's work without permission or credit and pass it off as your own work, you are ________ the work

Fill in the blank(s) with correct word

Computer Science & Information Technology

System software includes the operating system and utility programs

Indicate whether the statement is true or false

Computer Science & Information Technology

There are ________ points per inch

Fill in the blank(s) with correct word

Computer Science & Information Technology