Starter quiz

  • What is a list in Python?
    • a single-value data type
    • a type of loop
    • a function to perform calculations
    • a collection of data in a particular sequence  ✓
  • Match the terms with their definitions.
    • string
      a collection of characters ✓
    • mutable
      able to be changed ✓
    • index
      the location of an item in a list ✓
  • What is the index number that holds the first item in a Python list?
    • -1
    • 0  ✓
    • 1
    • 2
  • What method would you use to add an item to a list?
    • `remove()`
    • `sort()`
    • `append()`  ✓
    • `index()`
  • What is the term for repeating a sequence of instructions?
    • 'iteration' ✓
  • Which loop is used for count-controlled iteration?
    • 'for' ✓
+