Study

Loops

  •   0%
  •  0     0     0

  • This lets us repeat a set of commands more than once
    A) Repeater B)Loop C)Function D)Range
  • What color block should you expect to see to the left of all the commands indented inside a For Loop?
    A)Yellow B)Purple C)Red D)Green
  • The first line of a loop is NOT indented
    True or False?
  • A type of loop that runs a set of commands for a certain amount of time
    A)Dot Notation B)if-statement C)For Loop D)List Loop
  • This code will cause which type of error?
    Logic error or Syntax error
  • Defines the number of times that the command in a For Loop will repeat
    A)Range B)Command C)if-statement D)Variable
  • Loops need commands inside of them to be able to run?
    True or False?
  • A purple block indicates a line of code that is INSIDE a loop.
    True or False?
  • This code will cause which type of error?
    Logic Error or Syntax Error