
Numpy

Quiz
•
Computers
•
University
•
Medium
Sheryl A
Used 22+ 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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Quiz

Quiz
•
University
17 questions
Coding Titans

Quiz
•
University
20 questions
NumPy

Quiz
•
University
17 questions
Quiz 9

Quiz
•
University
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
20 questions
Bertelsmann AI Track Quiz Initiative #3

Quiz
•
University - Professi...
20 questions
Sjmit-Q2-[Workshop-MAR-25]

Quiz
•
12th Grade - University
23 questions
Java Array

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