Answer the following statements true (T) or false (F)
1. In a Do…Loop Until statement, the loop body is not always executed.
2. The Exit For statement causes immediate exit from the For…Next statement.
3. The Exit statement terminates a program.
4. The Continue statement is used to undo the effects of the Exit statement.
5. The Exit and Continue statements cannot be used in nested repetition statements.
1. False. In a Do…Loop Until statement, the loop body is always executed at least once.
2. True.
3. False. The Exit statement is used to terminate the rest of a repetition or Select…Case statement.
4. False. The Continue statement alters the flow of control in a loop by skipping the remaining statements in the body of a repetition statement and proceeding with the next iteration of the loop.
5. False. The Exit and Continue statements can be used in nested repetition statements.
You might also like to view...
The normal margin setting for all sides, which is in effect when you begin a new document is:
A) 2". B) 1.75". C) 1". D) 1.5".
Most inkjet printers use heat to make the ink squirt onto the paper
Indicate whether the statement is true or false