QUESTION IMAGE
Question
11 multiple choice 1 point in a nested loop, what is the outer loop? the loop with the smaller range of values. the loop with the larger range of values. the loop that contains the inner loop. the loop that executes first in the code.
In a nested loop, the outer loop is the loop that contains the inner loop. The range of values (smaller or larger) is not the defining characteristic. Also, the order of execution in code (first - but loops can be structured in different ways) is not the correct definition. The key is the containment relationship.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
The loop that contains the inner loop.