1. How do we install Numpy in the system?

A) .install numpy

B) pip install python numpy

C) pip install numpy python

D) pip install numpy

Correct Answer: pip install numpy

Explanation : We have Numpy "pip install numpy" in the system


2. How can we change the size of Numpy array in python?

A) Shape()

B) reshape()

C) ord()

D) change()

Correct Answer: reshape()

Explanation : We can change the size of Numpy array in python with reshape().


3. eye() method is available in __________?

A) django

B) numpy

C) A और B

D) flask

Correct Answer: numpy

Explanation : eye() method is available in numpy.


4. The numpy library was created in the year _________?

A) 2001

B) 2003

C) 2005

D) 2000

Correct Answer: 2005

Explanation : numpy library was created in the year 2005.


5. [::-1] reverses array or sequence?

A) True

B) False

Correct Answer: True

Explanation : [::-1] reverses array or sequence - True


6. Which of the following function stacks 1D arrays as columns into a 2D array?

A) column_stack

B) row_stack

C) com_stack

D) All of the mentioned

Correct Answer: column_stack


7. Which of the following method creates a new array object that looks at the same data?

A) view

B) paste

C) copy

D) All of the mentioned

Correct Answer: view

Explanation : You can use the view method to create a new array object that looks at the same data as the original array (a shallow copy). <br> Using the copy method will make a complete copy of the array and its data (a deep copy).


8. NumPy developed by

A) Guido van rossum

B) Denis ritchie

C) Travis Oliphant

D) None of the above

Correct Answer: Travis Oliphant

Explanation : NumPy (Numerical Python) is an open source Python library developed by Travis Oliphant in 2005.


9. python pandas was developed by______

A) Guido Van Rossum

B) Travis Oliphant

C) Wes McKinney

D) James Gosling

Correct Answer: Wes McKinney

Explanation : python pandas was developed by Wes McKinney in 2008.