DS_NumPy_TEST1

Quiz
•
Computers
•
University
•
Hard
RAJU S
Used 1+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function would you use to create a 2x3 array of random integers between 0 and 10?
np.random.randint(0, 10, size=(2, 3))
np.random.randint(2, 3, 0, 10)
np.random.rand(0, 10, (2, 3))
np.random.random_integers(0, 10, size=(2, 3))
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does np.ones((3, 4)) do?
Creates a 3x4 array filled with ones
Creates a 4x3 array filled with ones
Creates a 3x4 identity matrix
Creates a 4x3 identity matrix
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function sorts the elements of an array in ascending order?
np.sort()
np.argsort()
np.order()
np.arrange()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you find the unique elements in a NumPy array?
np.unique()
np.distinct()
np.single()
np.nonduplicate()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to concatenate two arrays along a specified axis?
np.concatenate()
np.append()
np.join()
np.merge()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does np.transpose(arr) do to the array arr?
Rotates the array by 90 degrees
Flattens the array
Transposes the array (flips axes)
Reshapes the array
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of NumPy?
Web development
Data analysis
Scientific computing
Game development
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
C++ Array

Quiz
•
University
10 questions
[KUIPS]Python Matplotlib, Django, Raspi

Quiz
•
University
15 questions
numpy library

Quiz
•
University
15 questions
Data Analytics using Python - Quiz 2

Quiz
•
University
14 questions
Training Quiz 6

Quiz
•
University
11 questions
Python for Mathematics

Quiz
•
University
7 questions
Python Round 4

Quiz
•
University
10 questions
Estructuras de programación y lógica en Ren'Py

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University