
NumPy Quiz

Quiz
•
Computers
•
University
•
Hard
Ankita Roy
FREE Resource
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()
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
module3

Quiz
•
University
15 questions
DSA Day 1

Quiz
•
University
15 questions
numpy library

Quiz
•
University
15 questions
Data Analytics using Python - Quiz 2

Quiz
•
University
21 questions
Libreria numpy python

Quiz
•
University
16 questions
Think it through

Quiz
•
University - Professi...
20 questions
Midterm Exam Content ITEC 204

Quiz
•
University
20 questions
Numpy

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University