Form 7: Conditional Loops (Repeat Until)
Questions
-
MultiChoice
What is a 'REPEAT UNTIL' loop?
-
MultiChoice
'REPEAT UNTIL wall ahead: [Move forward]'. When does the robot stop moving?
-
MultiChoice
What happens if the condition in REPEAT UNTIL is ALREADY true at start?
-
WordsBox
A conditional loop checks a ____ to decide when to ____ repeating.
-
MultiChoice
What is an infinite loop?
-
MultiChoice
'REPEAT UNTIL bucket full: [Add water drop]'. What causes the loop to terminate?
-
MultiChoice
Why must code inside a REPEAT UNTIL loop change something related to condition?
-
WordsBox
An ____ loop occurs when the stopping condition is never ____
-
MultiChoice
How differs REPEAT UNTIL from REPEAT N TIMES?
-
MultiChoice
'REPEAT UNTIL answer == correct: [Ask question]'. What happens if answer is wrong?
-
MultiChoice
Which loop structure is best when you do NOT know in advance how many steps are needed?
-
MultiChoice
'REPEAT UNTIL total >= 100: [Add 10 to total]'. Starting total is 70. How many times does loop run?