Examplary
Start for free
Oak ComputingTest · Computing

Python list operations

The starter and exit quiz of the lesson “Python list operations”, from the unit “Python programming with sequences of data” (Year 9 Computing) by Oak National Academy.

Free to use. Edit it, share it and hand it out to your students.

Oak National Academy

10 questions

  1. ___ is used when there is more than one possible path for a program to follow.
  2. Match the keyword to the definition.
  3. What is the correct way to access the first item in a list called names?
  4. What letter can you type in to join text and the values held by a variable in a print statement?
  5. What is an IndexError?
  6. A list is a d___ data structure that can grow or shrink as you add or remove items.
  7. Which list method can be used to add an item to the end of a list?
  8. Which list method can be used to remove the last item from a list if you do not know the index of the last item?
  9. The operation list.sort(reverse=True) sorts a list in ___ order
  10. What list method is used to find the index of a specific item?

License: OGL

Python list operations · Examplary