Question: 7. The statements in the body of a while loop may never be executed, whereas the statements in the body of a do-while loop will
7. The statements in the body of a while loop may never be executed, whereas the statements in the body of a do-while loop will be executed a. at least once b. at least twice c. as many times as the user wishes d. Never e. None of these 8. A for statement contains three expressions: initialization, test, and a. Update b. Reversal c. Null d. Validation e. None of these 9. In a for statement, this expression is executed only once. a. Test b. Null d. Validation e. None of these 10. You may define a in the initialization expression of a for loop. a, Constant b. Function c. Variable d. new data type e. None of these 11 The do-while loop is a loop to iterate at least once. a. post-test b. pre-test c. Infinite loop that is ideal in situations where you always want the e. None of these 12. A loop that is inside another loop is called a. b. c. d. e. an infinite loop a pre-test loop a post-test loop a nested loop None of these 13. This statement may be used to stop a loop's current iteration and begin the next one. a. Break b. Terminate c. re-iterate d. Continue e. None of these
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
