
NumPy Basics Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
Harshita Kanojia
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does NumPy stand for?
Number Python
Numerical Python
Numbers in Python
Numeric Python Programming
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to import NumPy?
import numpy as pnp
import numpy as np
import np as numpy
import NumPy
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main object in NumPy?
list
array
ndarray
matrix
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a 1D NumPy array?
np.array([1, 2, 3])
np.array((1, 2, 3))
np.array{1, 2, 3}
Both A and B
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output shape of np.array([[1,2],[3,4]])?
(2,)
(4,)
(2, 2)
(1, 4)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a NumPy array with 5 zeros?
np.zero(5)
np.zeros(5)
np.empty(5)
np.ones(5)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to create an array with values from 0 to 9?
np.range(10)
np.arrange(10)
np.arange(10)
np.linspace(10)
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
15 questions
Web Dev Midterm Quiz
Quiz
•
University
21 questions
CPA MS-Office Hotkeys Quiz
Quiz
•
8th Grade - Professio...
17 questions
Minggu V - PKS 2 - Pemrograman C++
Quiz
•
University
20 questions
Data & Signal
Quiz
•
University
15 questions
Cuestionario sobre seguridad en línea
Quiz
•
2nd Grade - University
20 questions
The Internet
Quiz
•
University
15 questions
Microcontroller
Quiz
•
University
20 questions
COA_QUIZ_UNIT I
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
