When should a programmer select a 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 while loop. Any loop can be used any time.

B

Computer Science & Information Technology

You might also like to view...

When viewing a presentation in Slide Master view, the slide master is the larger, top slide thumbnail shown in the left pane that coordinates with the Title and Content Layout

Indicate whether the statement is true or false

Computer Science & Information Technology

Existing queries can be modified to create new queries

Indicate whether the statement is true or false

Computer Science & Information Technology