Starter quiz

  • The process of repeating a sequence of instructions within a program loop is the definition of which term?
    • iteration  ✓
    • sequence
    • selection
    • a while loop
  • ______ are organised collections of data.
    • 'Data structures' ✓
  • What is the term for a variable that is used to signal a change in a program's state?
    • 'flag' ✓
  • A while loop will continue to iterate until ...
    • a counter reaches a certain value.
    • a condition is met.  ✓
    • the program crashes.
  • What would be displayed if this code was run? ```count = 1 while True: print(count) count = count + 1```
    • 1 2 3 4 5
    • The code will not run.
    • The code will print 1, 2, 3 ... and so on until the program is stopped manually.  ✓
  • What item is held in rolls[3] of this list? ```rolls = [1, 4, 3, 6]```
    • 1
    • 4
    • 3
    • 6  ✓
+