
Numpy
Authored by Poonkavithai Kalamegam
Computers
University
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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?
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])
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
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
15 questions
[CEH4H3] Sistem Tertanam Ganjil 1819 Kuis Online 2
Quiz
•
University
15 questions
Introducción Redes Tele1 IB
Quiz
•
10th Grade - University
20 questions
2. Ayo Main Quiz Lagi
Quiz
•
University - Professi...
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
15 questions
Teknik dalam Pemikiran Komputasional
Quiz
•
University
20 questions
Algoritma Remedial RPL
Quiz
•
University
20 questions
IT Essential UIUX Chapter 03 (Typography)
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