null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
21696290
Multiple Choice Questions-NumPy
Description
Quiz on Multiple Choice Questions-NumPy, created by Aparna Dhirde on 30/03/2020.
No tags specified
xi
Quiz by
Aparna Dhirde
, updated more than 1 year ago
More
Less
Created by
Aparna Dhirde
over 4 years ago
3299
0
0
Resource summary
Question 1
Question
Correct syntax of the reshape() function in Numpy array python is
Answer
array.reshape(shape)
reshape(shape,array)
reshape(array,shape)
reshape(shape)
Question 2
Question
Which of the following find the maximum number in the Numpy array ?
Answer
max(array)
array.max()
array(max)
None of the above
Question 3
Question
How we can change the shape of the Numpy array in python?
Answer
By Shape()
By reshape()
By ord()
By change()
Question 4
Question
How we can convert the Numpy array to the list in python?
Answer
list(array)
list.array
array.list
None of the above
Question 5
Question
How we can find the type of numpy array in python ?
Answer
dtype
type
typei
itype
Question 6
Question
How we install Numpy in the system ?
Answer
install numpy
pip install python numpy
pip install numpy
pip install numpy python
Question 7
Question
It is possible to convert the Numpy array to list in python ?
Answer
Yes
No
Sometimes
None of the above
Question 8
Question
Minimum number of argument to pass in full() function in Numpy array ?
Answer
0
1
2
3
Question 9
Question
Numpy in the Python provides the
Answer
Function
Lambda function
Type casting
Array
Question 10
Question
Numpy.array(list), what it does ?
Answer
It convert array to list
It convert list to array
It convert array to array
Error
Question 11
Question
Shape() function in Numpy array is used to
Answer
Find the shape of the array
Change the shape of the array
Both of the above
None of the above
Question 12
Question
What is the use of the size attribute in Numpy array in python ?
Answer
It find the direction
It find the number of items
It find the shape
All of the above
Question 13
Question
what is the use of the zeros() function in Numpy array in python ?
Answer
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
Question 14
Question
What gets printed? import numpy as np ary=np.array([1,2,3,5,8]) ary=ary+1 print(ary[1])
Answer
1
2
3
4
Question 15
Question
Which of the following is correct way to import the Numpy module in your program ?
Answer
import numpy
import numpy as np
from numpy import *
All of the above
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
Fractions and percentages
Bob Read
A-Level Biology: Cell Division
cian.buckley+1
IB Economics SL: Macroeconomics
Han Zhang
To Kill a Mockingbird Key Themes and Quotes
Matthew T
GCSE Biology 4 OCR - The Processes of Life
blairzy123
Religious Studies- Marriage and the family
Emma Samieh-Tucker
An Inspector Calls: Mrs Sybil Birling
Rattan Bhorjee
Matters of Life and Death - Edexcel GCSE Religious Studies Unit 3
nicolalennon12
GCSE Maths: Geometry & Measures
Andrea Leyden
GCSE Maths Conversions
EmilieT
NSI / PSCOD/ ASSD
Yuvraj Sunar
Browse Library