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
15 questions
[Python For All] Quiz 5 - Numpy
Quiz
•
University
20 questions
GirlsWhoML Workshop 0
Quiz
•
University
19 questions
C Language Array Quiz
Quiz
•
University
15 questions
ATP_AIML_D1_Reflections
Quiz
•
University - Professi...
18 questions
JavaScript Variables, Data Types, and Operators Quiz
Quiz
•
University
16 questions
Advanced Python Concepts
Quiz
•
University
20 questions
Basic Python
Quiz
•
University
17 questions
Revision 2 C
Quiz
•
University
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade