Examplary
Start for free
Oak ComputingTest · Computing

Mathematical operations in data structures

The starter and exit quiz of the lesson “Mathematical operations in data structures”, 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

12 questions

  1. What is a list in Python?
  2. Match the terms with their definitions.
  3. What is the index number that holds the first item in a Python list?
  4. What method would you use to add an item to a list?
  5. What is the term for repeating a sequence of instructions?
  6. Which loop is used for count-controlled iteration?
  7. Match the terms with their definitions.
  8. What is the primary purpose of a for loop in Python?
  9. What is the index of the second item in a list?
  10. What can be used to perform calculations in Python?
  11. Which statement about performing mathematical operations on list items in Python is true?
  12. What does the shuffle() function do to a list in Python?

License: OGL

Mathematical operations in data structures · Examplary