| d. structured 3. To construct a loop that works correctly, you should initialize a loop control _____. | | | | d. constant 4. One execution of any loop is called a(n) _____. | | | | d. round 5. To prevent a while loop from executing infinitely, which of the following actions must not occur? | a. A loop control variable is initialized to a starting value. | | | | b. The loop control variable is altered within the body of the loop. | | | | c. The loop control variable is tested in the while statement. | | | | d. The loop control variable is reset to its starting value during each iteration of the loop. 6. A value that stops a loop is a _____. | | | | d. token 7. If total = 100 and amt = 200, then after the statement total += amt, _____. | | | | d. amt is equal to 100 8. The modulus operator ( % ) is a _____ operator. | | | | d. binary 9. The prefix ++ is a _____ operator. | | | | d. postfix 10. If g = 5, then after h = ++g, the value of h is _____. | | | | d. 5 11. If m = 9, then after n = m++, the value of n is _____. | | | | d. 11 12. If j = 5 and k = 6, then the value of j++ == k is _____. | | | | d. 5 13. You must always include _____ in a for loop's parentheses. | | | | d. three semicolons 14. When loops are nested, each pair contains a(n) _____ loop and a(n) _____ loop. | | | | d. inside, outside 15. Loop _____ is the technique of combining two loops into one. | | | | d. integration 16. When incrementing the loop control variable in a for statement, using the _____ operator produces a faster loop. | | | | d. modulus 17. The loop that performs its conditional check at the bottom of the loop is a _____ loop. | | | | d. for...while 18. A(n) _____ is the first input statement prior to a loop that will execute subsequent input statements for the same variable. | | | | d. initializing read 19. A(n) _____ loop is an indefinite loop in which the number of executions is determined by user actions. | | | | d. event-controlled 20. Which of the following will not help improve loop performance? | a. Making a comparison to -1. | | | | b. Making sure the loop does not include unnecessary operations or statements. | | | | c. Employing loop fusion to combine loops. | | | | d. Considering the order of evaluation for short-circuit operators. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |