Form 7: Conditional Loops (Repeat Until) Exercise

Form 7: Conditional Loops (Repeat Until)

10 minutes 4 views 0 saves EN
Send as Assignment
Form 7: Conditional Loops (Repeat Until)

Explore conditional loops that continuously repeat actions until a designated condition is met.

Questions

  1. MultiChoice

    What is a 'REPEAT UNTIL' loop?

  2. MultiChoice

    'REPEAT UNTIL wall ahead: [Move forward]'. When does the robot stop moving?

  3. MultiChoice

    What happens if the condition in REPEAT UNTIL is ALREADY true at start?

  4. WordsBox

    A conditional loop checks a ____ to decide when to ____ repeating.

  5. MultiChoice

    What is an infinite loop?

  6. MultiChoice

    'REPEAT UNTIL bucket full: [Add water drop]'. What causes the loop to terminate?

  7. MultiChoice

    Why must code inside a REPEAT UNTIL loop change something related to condition?

  8. WordsBox

    An ____ loop occurs when the stopping condition is never ____

  9. MultiChoice

    How differs REPEAT UNTIL from REPEAT N TIMES?

  10. MultiChoice

    'REPEAT UNTIL answer == correct: [Ask question]'. What happens if answer is wrong?

  11. MultiChoice

    Which loop structure is best when you do NOT know in advance how many steps are needed?

  12. MultiChoice

    'REPEAT UNTIL total >= 100: [Add 10 to total]'. Starting total is 70. How many times does loop run?