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


A

Computer Science & Information Technology

You might also like to view...

________ is the most common key-agreement protocol.

a) Secret key b) Digital envelope c) Session key d) Triple DES

Computer Science & Information Technology

What is a default constructor? How are an object’s data members initialized if a class has only an implicitly defined default constructor?

What will be an ideal response?

Computer Science & Information Technology

When using the Pmt function, principal is another term for the ________ of a loan

A) rate B) duration C) future value D) present value

Computer Science & Information Technology

The ________ Mode allows you to create the same shape over and over and over

Fill in the blank(s) with correct word

Computer Science & Information Technology