Search Header Logo

Python: matlpotlib Online Quiz

Authored by Joana Salen

Computers

9th - 10th Grade

Used 115+ times

Python: matlpotlib Online Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which library we import if we want to draw chart

numpy

matplotlib

pandas

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

to add a title in the chart we use the function

title("title of the chart")

plt.title("title of the chart")

plt.title(title of the chart)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

we can not change the color of the chart

false

true

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is better to use pandas dataframe when putting title or labels in your chart.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the codes below should we use to rotate the data ticks on x-axis?

plt.xticks(rotation=30)

plt.ylabel(rotation=30)

plt.yticks(rotation=30)

plt.xlabel(rotation=30)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code should we use to display our graphs?

plt.display()

plt.graph()

plt.show()

plt.chart()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

pyplot is also a python library.

False

True

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?