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

Computer Science & Information Technology

You might also like to view...

The ________ operator is used to free memory that is no longer needed, so that it is effectively made available in the heap again.

A. new B. delete C. address-of D. dereference

Computer Science & Information Technology

JPasswordField contains method to obtain the data entered.

a. getInput. b. getPassword. c. getText. d. getEcho.

Computer Science & Information Technology

A(n) ____ reference has a full path notation.

a. absolute b. baseline c. indexed d. relative

Computer Science & Information Technology

Which of the following is an example of word processing software?

A. PowerPoint B. Word C. Access D. Excel

Computer Science & Information Technology