DSA Dec Batch Numpy,Pandas,Matplotlib Quiz

DSA Dec Batch Numpy,Pandas,Matplotlib Quiz

University

10 Qs

quiz-placeholder

Similar activities

C Program Array and strings

C Program Array and strings

University

10 Qs

Data Analytics using Python - Quiz 2

Data Analytics using Python - Quiz 2

University

15 Qs

Python Quiz-2.2

Python Quiz-2.2

University

12 Qs

Data Exploration Quiz

Data Exploration Quiz

University

10 Qs

Excel Quiz 2

Excel Quiz 2

University

14 Qs

Pandas

Pandas

University

15 Qs

Data visualization

Data visualization

10th Grade - University

12 Qs

Two-Dimensional Array

Two-Dimensional Array

11th Grade - University

6 Qs

DSA Dec Batch Numpy,Pandas,Matplotlib Quiz

DSA Dec Batch Numpy,Pandas,Matplotlib Quiz

Assessment

Quiz

Computers

University

Medium

Created by

ICT Academy of Kerala

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to display a Matplotlib plot?

plt.display()

plt.show()

plot.display()

plot.show()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does plt.title('Sales Data') do?

Sets the label for the x-axis to 'Sales Data'.

Sets the title of the plot to 'Sales Data'.

Adds a legend with the label 'Sales Data'.

Creates a subplot titled 'Sales Data'.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does np.ones((2, 3)) create?

A 2x3 array filled with ones.

A 3x2 array filled with ones.

A 2x2 array filled with ones.

A 3x3 array filled with ones.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of np.random.randn(3, 2)?

Generates random integers.

Generates an array of random floats from a standard normal distribution.

Creates an identity matrix.

Generates an array with evenly spaced values.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does plt.ylabel('Temperature') do?

Adds a label to the y-axis with 'Temperature'.

Sets the title of the plot to 'Temperature'.

Adds a legend with the label 'Temperature'.

Creates a subplot with the label 'Temperature'.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you filter rows in a DataFrame df where the 'Price' column is less than 50?

df.filter('Price' < 50)

df['Price'] < 50

df[df.Price < 50]

df.filter_price(50)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you check for missing values in a DataFrame df?

df.check_missing()

df.isna()

df.missing()

df.null()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?