All quizzes
Free quiz · 22 questions in the bank

NumPy quiz

Test your NumPy knowledge with a free interactive quiz — 22 questions with answers and explanations. No signup needed to play.

Question 1/10Score 0

What is NumPy?

In this round
  1. What is NumPy?
  2. How do you compute the mean of all elements in array a?
  3. What does an array's dtype represent?
  4. What is the main difference between a NumPy array and a Python list?
  5. What does np.arange(0, 10, 2) produce?
  6. How do you perform element-wise addition of two arrays a and b?
  7. What does array.shape return?
  8. What is a NumPy ndarray?
  9. How do you create an array of zeros with shape (3, 4)?
  10. Why are NumPy operations faster than equivalent Python loops?
Gaps to close?
Read the curated NumPy notes — core concepts, patterns, interview prep.
NumPy notes

More quizzes

.NETAccessibilityAgile MethodologyAirflowAlertmanagerAlgorithms