Examplary
Start for free
Oak ComputingTest · Computing

Data structure projects in Python

The starter and exit quiz of the lesson “Data structure projects in Python”, 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. Match the term to its definition.
  2. What does the append method do in Python?
  3. What is the term for repeating a sequence of instructions?
  4. What is a for loop used for?
  5. What is a floating-point number in Python?
  6. How are lists defined in Python?
  7. Put these steps in order to represent the software development life cycle.
  8. What is the primary purpose of the analysis phase in the software development life cycle?
  9. Which data type allows for fractional values in Python?
  10. How do you use the round() function to round the number 3.14159 to two decimal places in Python?
  11. How do you access the third item in a list called myList in Python?
  12. How do you iterate through each item in a list called myList using a for loop in Python? Hint: Use the variable 'item'.

License: OGL

Data structure projects in Python · Examplary