Pregunta 1
Pregunta
Correct syntax of the reshape() function in Numpy array python is
Respuesta
-
array.reshape(shape)
-
reshape(shape,array)
-
reshape(array,shape)
-
reshape(shape)
Pregunta 2
Pregunta
Which of the following find the maximum number in the Numpy array ?
Respuesta
-
max(array)
-
array.max()
-
array(max)
-
None of the above
Pregunta 3
Pregunta
How we can change the shape of the Numpy array in python?
Respuesta
-
By Shape()
-
By reshape()
-
By ord()
-
By change()
Pregunta 4
Pregunta
How we can convert the Numpy array to the list in python?
Respuesta
-
list(array)
-
list.array
-
array.list
-
None of the above
Pregunta 5
Pregunta
How we can find the type of numpy array in python ?
Pregunta 6
Pregunta
How we install Numpy in the system ?
Respuesta
-
install numpy
-
pip install python numpy
-
pip install numpy
-
pip install numpy python
Pregunta 7
Pregunta
It is possible to convert the Numpy array to list in python ?
Respuesta
-
Yes
-
No
-
Sometimes
-
None of the above
Pregunta 8
Pregunta
Minimum number of argument to pass in full() function in Numpy array ?
Pregunta 9
Pregunta
Numpy in the Python provides the
Respuesta
-
Function
-
Lambda function
-
Type casting
-
Array
Pregunta 10
Pregunta
Numpy.array(list), what it does ?
Pregunta 11
Pregunta
Shape() function in Numpy array is used to
Pregunta 12
Pregunta
What is the use of the size attribute in Numpy array in python ?
Pregunta 13
Pregunta
what is the use of the zeros() function in Numpy array in python ?
Respuesta
-
To make a Matrix with all element 0
-
To make a Matrix with all diagonal element 0
-
To make a Matrix with first row 0
-
None of the above
Pregunta 14
Pregunta
What gets printed?
import numpy as np
ary=np.array([1,2,3,5,8])
ary=ary+1
print(ary[1])
Pregunta 15
Pregunta
Which of the following is correct way to import the Numpy module in your program ?
Respuesta
-
import numpy
-
import numpy as np
-
from numpy import *
-
All of the above