Data Science and Machine Learning (Theory and Projects) A to Z - NumPy for Numerical Data Processing: Arrange, Random, a

Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of the permutation function in the numpy random package?
To sort an array in ascending order
To shuffle the elements of an array randomly
To calculate the mean of an array
To find the maximum value in an array
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the reshape function transform an array?
It sorts the array elements
It duplicates the array
It changes the data type of the array elements
It alters the dimensions of the array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of distribution do random numbers generated by np.random.rand follow?
Poisson distribution
Normal distribution
Exponential distribution
Uniform distribution
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to generate Gaussian random numbers in numpy?
np.random.rand
np.random.randn
np.random.randint
np.random.permutation
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the structure of a four-dimensional array created with np.random.rand(2, 3, 4, 2)?
Three 4D arrays, each with two 3D arrays, each containing four elements
Two 3D arrays, each with three 2D arrays, each containing four 1D arrays with two elements
Two 2D arrays, each with four 1D arrays, each containing three elements
Four 2D arrays, each with two 1D arrays, each containing three elements
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the np.zeros function do?
Creates an array with random values
Creates an empty array
Creates an array filled with ones
Creates an array filled with zeros
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function would you use to create an array filled with ones?
np.empty
np.ones
np.full
np.zeros
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
Modern Web Design with HTML5, CSS3, and JavaScript - Getting Random Items from Arrays

Interactive video
•
University
11 questions
Machine Learning: Random Forest with Python from Scratch - Using NumPy for Random Forest

Interactive video
•
University
6 questions
EDA Python - 16-2Numpy_random_and_masks

Interactive video
•
University
8 questions
Deep Learning - Crash Course 2023 - NumPy Part 3

Interactive video
•
University
8 questions
Data Science and Machine Learning (Theory and Projects) A to Z - NumPy for Numerical Data Processing: Slicing-Part 2

Interactive video
•
University
8 questions
Data Science and Machine Learning (Theory and Projects) A to Z - Python for Data Science: NumPy Pandas and Matplotlib (P

Interactive video
•
University
11 questions
Practical Data Science using Python - NumPy Arrays 1

Interactive video
•
University
6 questions
NumPy Library Part 2

Interactive video
•
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 Information Technology (IT)
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