line 1: import numpy as np
line 2: array = ______ ([1,2,3,4,5])
array
FILL IN THE BLANK
Introduction to NumPy (easy)
Quiz
•
Computers
•
University
•
Easy
Prynze Reyes
Used 12+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
line 1: import numpy as np
line 2: array = ______ ([1,2,3,4,5])
array
FILL IN THE BLANK
np.Array
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Line 1: array = np.array([1,2,3,4,5])
Line 2: print(array[2])
What will the code print?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
array = np.array([1,2,3,4,5])
array[1] = 7
print(array)
What does line 3 do?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
array = np.array([1,2,3,4,5])
array[1] = 7
print(array)
What will the code print?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
array = np.array([1,2,3,4,5])
array += 10
print(array)
What does this code print?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
array = np.array([1,2,3,4,5])
sum_all = np.sum(array)
print(sum_all)
What is the result of this code?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
array = np.array([1,2,3,4,5])
sum_all = ______(array)
print(sum_all)
Fill in the blank
np.Sum
np.addition
12 questions
DS_NumPy_TEST1
Quiz
•
University
10 questions
Data Exploration Quiz
Quiz
•
University
9 questions
IDS TAE-III
Quiz
•
University
6 questions
Python Basics: External Libraries
Quiz
•
University - Professi...
10 questions
TA M2 D
Quiz
•
University
15 questions
ATP_AIML_D1_Reflections
Quiz
•
University - Professi...
10 questions
exception
Quiz
•
University
10 questions
Quiz 11
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