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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Numpy

Quiz
•
University - Professi...
15 questions
[Python For All] Quiz 5 - Numpy

Quiz
•
University
10 questions
Quiz 12

Quiz
•
University
10 questions
Reshaping & vStack&hstack( )

Quiz
•
9th Grade - University
12 questions
DS_NumPy_TEST1

Quiz
•
University
8 questions
pandas

Quiz
•
9th Grade - University
10 questions
S5 - Sistemas Inteligentes

Quiz
•
University
10 questions
Data Exploration Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade