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. When he or she is not sure how many times the loop will be executed.

Computer Science & Information Technology

You might also like to view...

What is the port number for SMB - Server Message Block?

What will be an ideal response?

Computer Science & Information Technology

________ measure(s) the level of a document based on the average number of syllables per word and words per sentences

A) The Flesch-Kincaid Grade Level B) Readability statistics C) The Flesch Reading Ease D) Document statistics

Computer Science & Information Technology

Which of the following options prevents a logon after a set number of failed logon attempts within a specified period and can also specify the length of time that the lockout is in force?

A. password lock B. logon lock C. password lockout D. logon lockout

Computer Science & Information Technology

A(n) ________ is usually a live broadcast of audio or video content.

A. podcast B. wiki C. instant message D. webcast

Computer Science & Information Technology