
[Python For All] Quiz 5 - Numpy
Authored by Karunya Hacks
Computers
University
Used 236+ times
![[Python For All] Quiz 5 - Numpy](https://cf.quizizz.com/img/studentpreview.webp)
AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How we can find the type of numpy array in python?
dtype
typei
type
itype
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Shape() function in Numpy array is used to
None of the Mentioned
Change the shape of the array
Assigns the desired shape to the array
Find the shape of the array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the use of the zeros() function in Numpy array in python ?
To make a Matrix with first row 0
To make a Matrix with all element 0
To make a Matrix with all diagonal element 0
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not valid to import the numpy module ?
import numpy as np
import numpy as n
import numpy as p
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the use of the size attribute in Numpy array in python ?
It find the direction
It find the shape
It finds the number of items
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following find the maximum number in the Numpy array?
max(array)
array.max()
array(max)
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x=np.array([10,20,30,40,50,60,70])
print(np.median(x))
Find the output
35
35.0
40
37.7
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?