
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
19 questions
C Language Array Quiz

Quiz
•
University
15 questions
ROTC Make-up Quiz

Quiz
•
University
16 questions
Advanced Python Concepts

Quiz
•
University
25 questions
C PROGRAMMING

Quiz
•
University
20 questions
JAVA 2D ARRAYS

Quiz
•
University
20 questions
Parcial 3 - Fundamentos de Programacion

Quiz
•
University
21 questions
РМП 3 курс 6 семестр

Quiz
•
11th Grade - University
15 questions
[Python For All] Quiz 5 - Numpy

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University