Is it possible to write a for loop that does not execute when the program runs? A while loop? A do while loop?

What will be an ideal response?


Yes, it is possible to write a for or while loop that never executes based on the conditional statement. It is not possible to write a do while loop that does not execute at all, as do while loops always execute at least once.

Computer Science & Information Technology

You might also like to view...

Match the following keys to their actions:

I. W A. Moves selected objects in small increments II. B B. Used when selecting multiple objects III. Esc C. Displays a black screen IV. Ctrl D. Alternate method to turn off the Crop feature V. Right-arrow E. Displays a white screen

Computer Science & Information Technology

If there is no match when a Lookup function is employed, the ________ error indicator occurs

A) #VALUE B) #NAME? C) #REF? D) #N/A

Computer Science & Information Technology

How can an administrator keep devices powered when power is interrupted?

A. uninterruptible power supply B. redundant power supply C. uninterruptible system supply D. replica power supply

Computer Science & Information Technology

____ can allow a browser to display additional content it was not originally designed to display.

A. Plug-ins B. HTML5 C. Legacy tools D. Tags

Computer Science & Information Technology