
NumPy Basics Quiz

Quiz
•
Computers
•
University
•
Easy
Harshita Kanojia
Used 1+ times
FREE Resource
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)
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Round 1 (Tech Utsav)

Quiz
•
University
25 questions
DSA - Q1

Quiz
•
University
20 questions
Data Structures and Algorithms Quiz

Quiz
•
University
20 questions
Python and NumPy MCQ Quiz

Quiz
•
University
15 questions
Array Java

Quiz
•
University
15 questions
Array Quiz

Quiz
•
University
17 questions
PYTHON-QUIZ-2023

Quiz
•
University
20 questions
Linux 3-4

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