Control flow: loops
Computer Science · Programming fundamentals
Loading practice question…
About this practice set
Control flow: loops is a Computer Science quiz (Programming fundamentals) with 5 multiple-choice questions. Pick an answer and read the explanation that follows.
What you will be asked
- A loop repeats code:
- A for loop is best when:
- A while loop runs while its condition is:
- An infinite loop:
- The break statement: