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...

The capability dimension consists of all the base practices that collectively define security engineering.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The #REF! error message displays when a cell no longer exists

Indicate whether the statement is true or false

Computer Science & Information Technology

Schema master, domain naming master, PDC emulator, infrastructure master, and RID master are all flexible single-master operations (FSMO) servers

Indicate whether the statement is true or false

Computer Science & Information Technology

EXX Case 2-1Jaquelyn is creating a literary magazine for her high school.  She is creating a template in Excel to estimate costs for the magazine's sponsors.  There are several error values in the worksheet.  Before she begins using the template, Jaquelyn needs to check for errors and troubleshoot the formulas. Jaquelyn wants to use a SUMIFS function in one of the worksheets. She will type _____ before typing a conditional function and arguments.

A. # B. = C. {} D. "<"

Computer Science & Information Technology