NumPy quiz: 60 questions

60 questions from the 15 lessons of NumPy. Each answer is explained, with a link back to the lesson it comes from, and your best score stays on this device.

Test yourself

60 questions from this course's lessons, in a random order. See what you remember, then go back to the lessons behind the questions you missed.

How many questions?

What the quiz covers

  1. Why NumPy (4 questions)
  2. Creating arrays (4 questions)
  3. Data types: dtype (4 questions)
  4. Indexing and slicing (4 questions)
  5. Views and copies (4 questions)
  6. Boolean masks and where (4 questions)
  7. Vectorised arithmetic and ufuncs (4 questions)
  8. Broadcasting (4 questions)
  9. Reductions along axes (4 questions)
  10. Reshaping and stacking (4 questions)
  11. Sorting, unique values and searching (4 questions)
  12. Statistics with NumPy (4 questions)
  13. Linear algebra with NumPy (4 questions)
  14. Random numbers and simulation (4 questions)
  15. NumPy in practice: images as arrays (4 questions)