1. Home
  2. PDF downloads
  3. Data Science MCQs PDF
  4. NumPy MCQs PDF

NumPy MCQs PDF Download

Download 83 NumPy MCQs from Data Science as a free PDF, with answers. Every question is also available online with an explanation, so you can practise, check your answers and revise the parts you get wrong. Last updated 20 November 2026.

83 MCQs with answers Downloaded 0 times Updated 20 November 2026 English & اردو

Download NumPy MCQs PDF

Number of questions
Answers
Practice online

Free, no sign-up. Sets with Urdu text open as a print-ready page: tap Save as PDF there.

Share with your study group

Preview: first 10 NumPy MCQs

1. What is NumPy used for in Python programming?

  1. A. Web development
  2. B. Machine learning and data manipulation
  3. C. Graphic design
  4. D. Database management
Show answer

Correct answer: B – Machine learning and data manipulation

See the explanation

2. Which of the following statements about NumPy arrays is correct?

  1. A. NumPy arrays must be of the same data type
  2. B. NumPy arrays cannot have more than one dimension
  3. C. NumPy arrays are only suitable for string data
  4. D. NumPy arrays are not resizable
Show answer

Correct answer: A – NumPy arrays must be of the same data type

See the explanation

3. What does the term "broadcasting" refer to in NumPy?

  1. A. Radio broadcasting
  2. B. Simultaneous operation on arrays with different shapes
  3. C. Printing arrays
  4. D. Broadcasting live events
Show answer

Correct answer: B – Simultaneous operation on arrays with different shapes

See the explanation

4. Which NumPy function is used to find the mean of an array?

  1. A. np.median()
  2. B. np.mean()
  3. C. np.average()
  4. D. np.sum()
Show answer

Correct answer: B – np.mean()

See the explanation

5. How can you concatenate two NumPy arrays vertically?

  1. A. np.add()
  2. B. np.concatenate(axis=0)
  3. C. np.vstack()
  4. D. np.merge(vertical=True)
Show answer

Correct answer: C – np.vstack()

See the explanation

6. In NumPy, what does the function np.random.rand() do?

  1. A. Generate random integers
  2. B. Generate random floats in the half-open interval [0.0, 1.0)
  3. C. Shuffle elements in an array
  4. D. Create a random matrix
Show answer

Correct answer: B – Generate random floats in the half-open interval [0.0, 1.0)

See the explanation

7. Which NumPy function is used for element-wise exponentiation?

  1. A. np.power()
  2. B. np.exp()
  3. C. np.square()
  4. D. np.log()
Show answer

Correct answer: B – np.exp()

See the explanation

8. How can you install NumPy in a Python environment?

  1. A. pip install numpy
  2. B. install numpy
  3. C. np install numpy
  4. D. pip numpy install
Show answer

Correct answer: A – pip install numpy

See the explanation

9. What is NumPy?

  1. A. A programming language
  2. B. A numerical computing library
  3. C. A web development framework
  4. D. A database management system
Show answer

Correct answer: B – A numerical computing library

See the explanation

10. Which of the following is not a benefit of using NumPy?

  1. A. Efficient computations
  2. B. High-level mathematical functions
  3. C. Large, multi-dimensional arrays and matrices
  4. D. Built-in machine learning algorithms
Show answer

Correct answer: D – Built-in machine learning algorithms

See the explanation

More Data Science topics

Full subject & exam PDFs

NumPy MCQs PDF – FAQ

Is the NumPy MCQs PDF free?

Yes. The NumPy MCQs PDF is completely free. You do not need an account; just choose how many questions you want and press Download PDF.

How many questions are in the NumPy MCQs PDF?

There are 83 NumPy MCQs with answers. PDFs are made topic by topic: pick a topic and download 25, 50, 75, 100, 200, 300 or up to 500 questions in one file.

Does the PDF include the answers?

Yes. Choose "Answer key at the end" for a self-test sheet, or "Answer under each question" for quick revision. The online version also explains each answer.

Can I practise NumPy MCQs online?

Yes. Press Practice online to answer the same questions on MCQsExam, see explanations, and take a timed test with a free certificate.

Is the NumPy PDF updated?

The PDF is rebuilt automatically whenever new NumPy MCQs are added or corrected. It was last updated on 20 November 2026.