1. The structure that allows you to write one set of instructions that operates
ID: 3935939 • Letter: 1
Question
1. The structure that allows you to write one set of instructions that operates on multiple, separate sets of data is the c. loop a. sequence d. Case b. selection 2. The loop that frequently appears in a program's mainline logic a. always depends on whether a variable equals 0 b. works correctly based on the same logic as other loops c. is an unstructured loop d. is an example of an infinite loop 3. Which of the following is not a step that must occur with every correctly working loop? a. Initialize a loop control variable before the loop starts. b. Set the loop control value equal to a sentinel during each iteration. c. Compare the loop control value to a sentinel during each iteration. d. Alter the loop control variable during each iterationExplanation / Answer
1. C. Loop
2. B. Work Correctly based on the same logic as other loops
3. B. Set a loop control value equal to a sentinel during each iteration
4. A. loop Body
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.