
Practice

Quiz
•
Computers
•
University
•
Easy
JOYDEEP ROY
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What does NumPy primarily provide?
Data visualization tools
Array objects and numerical operations
Machine learning algorithms
Web frameworks
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which of the following creates a NumPy array of zeros?
numpy.zeros((3,3))
numpy.ones((3,3))
numpy.array((0,0))
numpy.zeros.array((3,3))
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is the shape of this array? np.array([[1,2,3],[4,5,6]])
(3, 2)
(2, 3)
(1, 6)
(6,)
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
How can you find the data type of elements in a NumPy array?
array.type()
array.dtype
array.datatype()
array.gettype()
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What will np.array([1,2,3]) + np.array([4,5,6]) return?
[1, 2, 3, 4, 5, 6]
[4, 10, 18]
[5, 7, 9]
Error
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which of the following reshapes an array arr to 2 rows and 3 columns?
arr.resize(2, 3)
arr.flatten(2, 3)
arr.shape(2, 3)
arr.reshape(2, 3)
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is a DataFrame?
A single row of data
A 2D labeled data structure
A 1D labeled array
A chart
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Pandas

Quiz
•
University
20 questions
Midterm Exam Content ITEC 204

Quiz
•
University
15 questions
module3

Quiz
•
University
15 questions
DSA Day 1

Quiz
•
University
20 questions
Struktur Data Pra UAS

Quiz
•
University
20 questions
Removal - Part 2

Quiz
•
University
15 questions
numpy library

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

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