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/5Score 0

What does an array's dtype represent?

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

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web