
NumPy

Quiz
•
Engineering
•
University
•
Medium
PRABANAND S C
Used 2+ times
FREE Resource
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]
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
DAA 4th Sem

Quiz
•
University
20 questions
DataScience-28 & 29

Quiz
•
University
25 questions
Data Structures and Algorithms Quiz-1

Quiz
•
University
17 questions
Hackharbor 3.0 Day 3:C

Quiz
•
University
15 questions
Lesson 6 System Terminology and Concepts

Quiz
•
12th Grade - University
20 questions
Hackharbor 3.0 Day 3:C

Quiz
•
University
15 questions
CYBERSYNAPSE

Quiz
•
University
20 questions
Dive in SQL

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Engineering
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University