Question: Q26. When the loop condition evaluates to false, the loop instructions are skipped over and processing continues with the instructions ____. a. located at the
Q26. When the loop condition evaluates to false, the loop instructions are skipped over and processing continues with the instructions ____. a. located at the head of the current function b. immediately following the end of the loop c. in the main() function d. in the next loop in the program Q27. Which of the following statements regarding the selection structure and repetition structure flowcharts is true? a. Only selection structure flowcharts contain loops b. Only repetition structure flowcharts contain loops c. Both repetition structure and selection flowcharts contain loops d. Neither repetition structure flowcharts nor selection structure flowcharts contain a loop Q28. If more than one statement needs to be processed in a loop structure, the statements must be entered as a statement block. You create a statement block by enclosing the statements in a set of ____. a. brackets b. braces c. periods d. slashes Q29. In a nested loop, the entire inner loop is contained within the outer loop. a. true b. false Q30. You often find a(n) ____ loop in programs that allow the user to select from a menu, such as a game program. Such programs use this type of loop to control the display of the menu, which must appear on the screen at least once. a. pretest b. posttest c. redundant d. infinite
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
