NumPy Basics Quiz

Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
Manjunatha M
Used 2+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does NumPy stand for?
Numerical Python
Numbers in Python
Numeric Python
NumberPy
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to import NumPy?
import numpy as npy
import numpy as np
import numpy
import num as np
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a NumPy array?
np.array([1, 2, 3])
np.array{[1, 2, 3]}
np.array((1, 2, 3))
np.array[1, 2, 3]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to create an array filled with zeros?
np.empty()
np.zeros()
np.zeros_like()
np.fill()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to create an identity matrix in NumPy?
np.eye()
np.identity()
np.ones()
np.ident()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to find the shape of a NumPy array?
np.shape()
array.shape
array.size
array.dim()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the ndim attribute of a NumPy array return?
The number of elements in the array
The number of dimensions of the array
The shape of the array
The data type of the array elements
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
UTS SO A2

Quiz
•
University
25 questions
UH INFORMATIKA KELAS XI

Quiz
•
11th Grade - University
27 questions
Python Programming Quiz

Quiz
•
12th Grade
26 questions
Uji Pemahaman 1

Quiz
•
12th Grade
25 questions
Understanding Delegates and Events

Quiz
•
12th Grade
30 questions
C-Volution (Easy 1)

Quiz
•
University
30 questions
Python Programming Quiz for Grade 13

Quiz
•
University
30 questions
Perkakas Analisis Data dan Web Scraping

Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area

Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade