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