
NumPy
Quiz
•
Engineering
•
University
•
Practice Problem
•
Medium
PRABANAND S C
Used 2+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output type of np.array([1, 2, 3])?
A. List
B. Tuple
C. ndarray
D. Series
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which function returns evenly spaced values within a given range?
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of np.zeros((2,3))?
A. A 2x3 array filled with zeros
B. A 3x2 array filled with zeros
C. A 2x3 array filled with ones
D. An empty array
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does a.shape return if a = np.array([[1, 2], [3, 4]])?
A. (4,)
B. (2, 2)
C. 2
D. [2, 2]
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is used to get a random number between 0 and 1?
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you access the element at the second row and third column of a 2D NumPy array a?
A. a[1][2]
B. a[2][3]
C. a[2,3]
D. a[1,2]
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of np.arange(1, 10, 2)?
[1,2,3,4,5,6,7,8,9,10]
[2,4,6,8,10]
[1,3,5,7,9]
[1,3,5,7]
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Teknik Gambar manufaktur
Quiz
•
11th Grade - University
20 questions
Diodos y semiconductores
Quiz
•
University
15 questions
Industria Lácteos
Quiz
•
University
15 questions
English for Engineering Part 2
Quiz
•
University
15 questions
Simple and Compound Machines
Quiz
•
7th Grade - University
20 questions
DLD Unit 1 _ 2
Quiz
•
University
15 questions
Quiz 2-Uji Pengetahuan Desain Manufaktur
Quiz
•
University
20 questions
EXAMEN 2DO PARCIAL 01_03
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Engineering
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University
