When should a programmer select a do while loop for his or her program?

A. When he or she knows the exact number of times the loop will be executed.
B. When he or she is not sure how many times the loop will be executed.
C. When he or she knows the loop must be executed at least once.
D. There is no reason to select a do while loop. Any loop can be used any time.


C. When he or she knows the loop must be executed at least once.

Computer Science & Information Technology

You might also like to view...

____ focus less on a program's procedures and more on the objects (or things) on which these procedures operate.

A. Validated B. Compiled C. Assembled D. Object oriented

Computer Science & Information Technology

The IFS function, unlike the IF function, returns the first FALSE condition.

Indicate whether the statement is true or false.

Computer Science & Information Technology

According to the National Information Infrastructure Protection Act of 1996, the severity of the penalty for computer crimes depends on the value of the information obtained and whether the offense is judged to have been committed for each of the following except __________.

A. for purposes of commercial advantage B. for private financial gain C. to harass D. in furtherance of a criminal act

Computer Science & Information Technology

In the user-defined functions shown in the accompanying figure, the box labeled _____ indicates the data type returned by the function.

A. ?A B. ?B C. ?C D. ?D

Computer Science & Information Technology