
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 BAB AI V1
Quiz
•
10th Grade - University
25 questions
Identification Quiz
Quiz
•
University
25 questions
Understanding Java Classes and Inheritance - UNIT 1
Quiz
•
University
25 questions
Summative Test No. 1_Media and Information Literacy_3rd Quarter
Quiz
•
12th Grade
25 questions
3 Tri C# 3
Quiz
•
12th Grade
25 questions
IT Concepts 3
Quiz
•
12th Grade - University
25 questions
The End
Quiz
•
9th - 12th Grade
28 questions
MID TERM ECP00203
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
15 questions
Exponential Growth and Decay Word Problems Practice
Quiz
•
9th - 12th Grade
18 questions
AP Bio Insta-Review Topic 6.1*: DNA & RNA Structure
Quiz
•
9th - 12th Grade