Menu

Condition Controlled Iteration (While Loops) - Quiz

1. What is tested at the beginning of a while loop?

The condition that decides whether the loop runs
The value of every variable used in the program
The number of repetitions the loop will make in total
The number of times the loop has already repeated

2. Which type of loop should be used when the number of repetitions is not known in advance?

A for loop over a list
A sequence of selection statements
A count controlled loop
A condition controlled loop

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic