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

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web