[Python For All] Quiz 5 - Numpy

Quiz
•
Computers
•
University
•
Medium
Karunya Hacks
Used 226+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
NumpyPandas

Quiz
•
University
10 questions
S5 - Sistemas Inteligentes

Quiz
•
University
12 questions
Numpy Quiz 1

Quiz
•
University
15 questions
Жанар214

Quiz
•
9th Grade - University
16 questions
Advanced Python Concepts

Quiz
•
University
10 questions
python

Quiz
•
University
10 questions
ESTOU POR DENTRO DO ASSUNTO? Linguagem PHP

Quiz
•
University
10 questions
NumPy

Quiz
•
9th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade