
Numpy and Pandas Quiz
Authored by durga p
Education
12th Grade
Used 5+ times

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
What is the function in Numpy used to create an array?
np.make_array()
np.create()
np.arr()
np.array()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you perform element-wise addition of two Numpy arrays?
array_c = array_a - array_b
array_c = array_a * array_b
array_c = array_a + array_b
array_c = np.add(array_a, array_b)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the difference between loc and iloc in Pandas.
loc is label-based, iloc is integer position-based
loc is integer-based, iloc is label-based
loc is position-based, iloc is index-based
loc is row-based, iloc is column-based
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of Numpy array indexing?
Numpy array indexing is used to perform mathematical operations on arrays.
Numpy array indexing is used to access specific elements or groups of elements within a Numpy array.
Numpy array indexing is used to convert arrays into lists.
Numpy array indexing is used for sorting elements in an array.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you filter rows in a Pandas DataFrame based on a condition?
df.filter('column_name' > value)
df[df['column_name'] > value]
df.query('column_name' > value)
df['column_name'].filter(value)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the shape attribute of a Numpy array used for?
Determining the dimensions of the array
Calculating the mean of the array
Setting the color of the array
Sorting the elements of the array
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of using Pandas over Numpy for data manipulation?
Faster computation speed
Higher-level data structures and functions
Limited data manipulation capabilities
Less flexibility in data handling
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?
Similar Resources on Wayground
15 questions
Revamped New Hire Induction
Quiz
•
KG - 12th Grade
18 questions
Database Management System
Quiz
•
12th Grade - Professi...
20 questions
POSTTEST CERPEN FIX
Quiz
•
9th - 12th Grade
10 questions
#BelajarBareng Ekonomi: Akuntansi
Quiz
•
10th Grade - University
10 questions
KUIZ BAB 2 ASK TINGKATAN 3
Quiz
•
12th Grade
15 questions
Ulangan resensi
Quiz
•
12th Grade - University
20 questions
Media and information Literacy
Quiz
•
12th Grade
15 questions
Programming basics
Quiz
•
12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade