import numpy as np
arr = np.array([1, 2, 3, 4])
print(arr[1])
Numpy
Quiz
•
Computers
•
University
•
Medium
Sheryl A
Used 19+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
arr = np.array([1, 2, 3, 4])
print(arr[1])
1
2
3
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Iimport numpy as np
arr = np.array(42)
print(arr)
42
4
2
24
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of NumPy in Python?
To do numerical calculations
To do scientific computing
Both A and B
None of the mentioned above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
NumPy package is capable to do fast operations on arrays.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
NumPy arrays can be ___.
Indexed
Sliced
Iterated
All of the mentioned above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a library in python
pandas
matplotlib
numpy
Visualization
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
x = np.array([[0, 1], [2, 3]])
np.transpose(x)
array([[0, 2], [1, 3]])
array([[0, 1], [2, 3]])
array([[2, 3], [0, 1]])
None of the mentioned
25 questions
1 Пайтон
Quiz
•
University
20 questions
Pointers
Quiz
•
University
17 questions
Quiz 9
Quiz
•
University
20 questions
Season 5 #Spaic Python Weekly Quiz
Quiz
•
KG - Professional Dev...
20 questions
РЭУ тест по Python
Quiz
•
University
20 questions
GirlsWhoML Workshop 0
Quiz
•
University
20 questions
Sjmit-Q2-[Workshop-MAR-25]
Quiz
•
12th Grade - University
20 questions
python openCV
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade