
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
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
15 questions
ARRAYLIST - JAVA

Quiz
•
University
25 questions
1 Пайтон

Quiz
•
University
15 questions
Java Programming

Quiz
•
University
15 questions
Selection Sort & Exhaustive Search

Quiz
•
University
15 questions
Javascript Array dan Object

Quiz
•
University
20 questions
Pointers

Quiz
•
University
17 questions
Quiz 9

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