Search Header Logo

Python Quiz-2.2

Authored by Rahul Mahato

Computers

University

Used 1+ times

Python Quiz-2.2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

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)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code should we use to display our graphs?

plt.display()

plt.graph()

plt.show()

plt.chart()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

pyplot is also a python library?

False

True

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This is an example of a ___________.

Scatter Chart

Bar Graph

Line Graph

Pie Chart

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can use matplotlib without installing the library.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To create a chart, pyplot provides

create()

plot()

chart()

figure()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To display histogram with well-defined edge we can write

df.plot( type = ‘hist’, edge = ‘red’)

df.plot( type = ‘hist’, line = ‘red’)

df.plot( type = ‘hist’, edgecolor = ‘red’)

df.plot(type = ‘hist’, linecolor = ‘red’)

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?

Discover more resources for Computers