wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Quiz-2.2

Total questions: 12

Worksheet time: 7mins

Name
Class
Date
1.

To add a title in the chart we use the function?

a)

title("title of the chart")

b)

plt.title("title of the chart")

c)

plt.title(title of the chart)

2.

Which code should we use to display our graphs?

a)

plt.display()

b)

plt.graph()

c)

plt.show()

d)

plt.chart()

3.

pyplot is also a python library?

a)

False

b)

True

4.

This is an example of a ___________.

a)

Scatter Chart

b)

Bar Graph

c)

Line Graph

d)

Pie Chart

5.

We can use matplotlib without installing the library.

a)

True

b)

False

6.

To create a chart, pyplot provides

a)

create()

b)

plot()

c)

chart()

d)

figure()

7.

To display histogram with well-defined edge we can write

a)

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

b)

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

c)

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

d)

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

8.

By default, Plot() function plots a

a)

Bar chart

b)

Line chart

c)

Pie chart

d)

Horizontal bar chart

9.

Seaborn is python _________library based on matplotlib.

a)

Graphicial interface

b)

Data visualization

c)

Statistical graph

d)

Data structure

10.

Seaborn provides a high level interface for

a)

drawing attractive

b)

graphic tools

c)

statistical graph

d)

statistical bar

11.

Find the Features of Seaborn

a)

Seaborn works well with NumPy and Pandas data structures

b)

It come with Tools for choosing color palettes to make beautiful plots

c)

It helps to visualize univariate and bivariate data

d)

It deals like how one varibale is behaving with respect to other

12.

Seaborn helps to plot statistical time series data with flexible estimation and representation of uncertainty around the estimate?

a)

True

b)

False