Home »
Python »
Python NumPy MCQs
What is the purpose of NumPy in Python?
1. What is the purpose of NumPy in Python?
- To do numerical calculations
- To do scientific computing
- Both A and B
- None of the mentioned above
Answer: C) Both A and B
Explanation:
NumPy is an abbreviation for 'Numerical Python.' NumPy is a Python library that allows users to perform mathematical and logical operations on arrays. As a result, NumPy is considered a Python package. There are multidimensional array objects and a collection of routines for processing the arrays in this library, which may be found here. NumPy consists of multidimensional array objects as well as a collection of procedures for manipulating and processing those arrays.