1. Home
  2. Data Science
  3. NumPy
  4. Which NumPy function calculates the dot product?

Added 16 Sep 2025

Which NumPy function calculates the dot product?

  1. np.dot() Correct answer
  2. np.product()
  3. np.multiply()
  4. np.matmul()

Correct answer

A. np.dot()

14 views

MCQSEXAM

Explanation

np.dot() computes the dot product of two arrays, equivalent to matrix multiplication for 2D arrays.

Reference

Asked in: Data Science Exams

https://numpy.org/doc/stable/reference/generated/numpy.dot.html

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More NumPy MCQs

Practise all NumPy MCQs

Similar MCQs