
NumPy Quiz
Authored by Ankita Roy
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the term used for a NumPy array with any number of dimensions?
tensor
matrix
vector
ndarray
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a type of array in NumPy?
1-D Array
0-D Array
2-D Array
4-D Array
3-D Array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the shape of a NumPy array represent?
The data type of the array
The number of dimensions
The size of the array along each dimension
The number of elements
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to reshape a NumPy array?
change_shape()
modify_shape()
reshape_array()
reshape()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operations can be performed on NumPy arrays?
Addition
Subtraction
Multiplication
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the np.sum() function do?
Calculates the mean
Calculates the maximum value
Calculates the sum of array elements
Calculates the product of array elements
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to append a row to a NumPy array?
np.insert()
np.concat()
np.append()
np.add()
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
Pra UAS Algoritma dan Pemrograman Lanjut
Quiz
•
University
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
20 questions
2. Ayo Main Quiz Lagi
Quiz
•
University - Professi...
17 questions
Grade 4 Computer Science Quiz
Quiz
•
4th Grade - University
20 questions
Spreadsheet Fundamentals - Quiz2
Quiz
•
University
15 questions
Chapter 8 - Memory Management Strategies
Quiz
•
University
20 questions
Processing- The CPU Quiz
Quiz
•
10th Grade - University
20 questions
IT Essential UIUX Chapter 03 (Typography)
Quiz
•
University
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade