
Numpy

Quiz
•
Computers
•
University
•
Medium
Poonkavithai Kalamegam
Used 6+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
arr = np.array([[1, 2, 3, 4, 5, 6], [7, 8, 9, 10, 11, 12]])
newarr = arr._____________
reshape(1)
reshape()
reshape(0)
reshape(-1)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Insert the correct argument for creating a NumPy array with 2 dimensions.
arr = np.array([1, 2, 3, 4], ____=2)
dmin
ndmin
demin
ndmn
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Difference between a and b
a = np.array(42)
b = np.array([42])
Both are single dimensional
a is zero and b is 1 dimensional
a is single and b is zero dimensional
Both are zero dimensional
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an incorrect argument to specify that the array should be of type STRING.
arr = np.array([1, 2, 3, 4],________)
'string'
'S'
dtype='S'
str
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does NumPy stand for?
Numerical Python
Natural Python
Numeric Program
Nonlinear Python
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
VIT is
Vellore Institute of Technology
Very Interesting Time
Vast Institute of Techniques
Vellore Institute of Techniques
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the below code?
np.arange(2,8)
array([2, 3, 4, 5, 6, 7])
array([3, 4, 5, 6, 7])
array([2, 3, 4, 5, 6, 7, 8])
array([3, 4, 5, 6, 7, 8])
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Removal - Part 2

Quiz
•
University
20 questions
Struktur Data Pra UAS

Quiz
•
University
21 questions
Libreria numpy python

Quiz
•
University
20 questions
L73_118 Prep for Test

Quiz
•
12th Grade - University
16 questions
Mastering JavaScript Basics

Quiz
•
University
15 questions
numpy library

Quiz
•
University
15 questions
Data Analytics using Python - Quiz 2

Quiz
•
University
15 questions
module3

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University