
Practice
Authored by JOYDEEP ROY
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
20 questions
Infrastructure (Network)
Quiz
•
University
20 questions
C Quest 2.0
Quiz
•
University
20 questions
PHP First Internal Practical Viva
Quiz
•
University
15 questions
Assessment 08
Quiz
•
University
15 questions
Monday Week#2
Quiz
•
University
15 questions
Algoritma dan Pemrograman Bab 1
Quiz
•
University
20 questions
Social Issues and Professional Practices Midterm Exam
Quiz
•
University
20 questions
TEST FINAL - Configuración de Servicios Windows
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