Search Header Logo

Class XII Data Visualization Quiz

Authored by Anand KVS

Computers

12th Grade

Used 1+ times

Class XII Data Visualization Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to plot a line graph in Matplotlib?

plt.bar()

plt.plot()

plt.scatter()

plt.line()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to display a bar chart horizontally in Matplotlib?

plt.bar()

plt.barh()

plt.hist()

plt.horizontal_bar()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a bar chart, which parameter of plt.bar() defines the color of bars?

face

color

shade

fill

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the bins parameter in plt.hist() define?

Width of bars

Number of intervals

Color of bars

Total frequency

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to give a title to a graph in Matplotlib?

plt.label()

plt.title()

plt.head()

plt.caption()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to label the X-axis in a Matplotlib graph?

plt.xaxis()

plt.xlabel()

plt.xtitle()

plt.xname()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does plt.legend() do in a graph?

Displays X-axis labels

Adds a legend to identify data series

Displays Y-axis labels

Highlights the largest value

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?