
NumPy Basics Quiz
Authored by Manjunatha M
Information Technology (IT)
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does NumPy stand for?
Numerical Python
Numbers in Python
Numeric Python
NumberPy
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to import NumPy?
import numpy as npy
import numpy as np
import numpy
import num as np
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a NumPy array?
np.array([1, 2, 3])
np.array{[1, 2, 3]}
np.array((1, 2, 3))
np.array[1, 2, 3]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to create an array filled with zeros?
np.empty()
np.zeros()
np.zeros_like()
np.fill()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to create an identity matrix in NumPy?
np.eye()
np.identity()
np.ones()
np.ident()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to find the shape of a NumPy array?
np.shape()
array.shape
array.size
array.dim()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the ndim attribute of a NumPy array return?
The number of elements in the array
The number of dimensions of the array
The shape of the array
The data type of the array elements
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
25 questions
Quiz Pemrograman Python
Quiz
•
10th Grade - University
25 questions
Seatwork #4
Quiz
•
12th Grade - University
25 questions
Informatika Sekarang dan Masa Depan
Quiz
•
12th Grade
25 questions
soal uh 9
Quiz
•
9th Grade - University
25 questions
TVL - 12 ONLINE QUIZ Q2 1
Quiz
•
12th Grade
25 questions
Assesment 1
Quiz
•
University
25 questions
midterm Quiz1 on Human-Computer Interaction
Quiz
•
University
25 questions
Fundamentals of Computer Science with Karel Unit 2 Exam
Quiz
•
12th Grade
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
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
11 questions
Exponent Quotient Rules A1 U7
Quiz
•
9th - 12th Grade