[Python For All] Quiz 5 - Numpy

Quiz
•
Computers
•
University
•
Medium
Karunya Hacks
Used 229+ 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
17 questions
PYTHON-QUIZ-2023

Quiz
•
University
10 questions
Data Analytics and Artificial Intelligence

Quiz
•
University
10 questions
Data Science Basics

Quiz
•
University
10 questions
DP-100 day 3

Quiz
•
University - Professi...
12 questions
Array

Quiz
•
University
20 questions
Python and NumPy MCQ Quiz

Quiz
•
University
10 questions
Reshaping & vStack&hstack( )

Quiz
•
9th Grade - University
10 questions
Quiz 12

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University