
NumPy and Pandas Quiz
Authored by Manikandan Rajendiran
Other
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is NumPy?
A plotting library
A machine learning framework
A scientific computing library
A web development framework
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you create a NumPy array from a Python list?
np.array(list)
numpy(list)
array(list)
create.array(list)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the shape of a 1D NumPy array with 5 elements?
(1, 5)
(5,)
(5, 1)
(1,)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you access the element at the second row and third column of a 2D NumPy array arr?
arr[1, 2]
arr[2, 3]
arr[1][2]
arr[2][3]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the np.zeros((3, 4)) function in NumPy do?
Creates an array with ones
Creates an array with random values
Creates an array with zeros
Creates an identity matrix
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you perform element-wise multiplication of two NumPy arrays a and b?
a * b
np.multiply(a, b)
np.mult(a, b)
a.dot(b)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the np.arange(5, 15, 2) function in NumPy do?
Creates an array with values from 5 to 15
Creates an array with values from 5 to 14 with a step of 2
Creates an array with values from 5 to 15 with a step of 2
Creates an array with values from 5 to 14
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?
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L3_22-23
Lesson
•
KG - Professional Dev...
20 questions
Employability Skills
Quiz
•
Professional Development