wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

PYPLOT

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

----------means graphical or pictorial representation of the data using graph, chart, etc.

a)

Data visualisation

b)

Visual Data

c)

Matplot

d)

None of the above

2.

Which of the following library to be imported for creating chart in python?

a)

Matplotlib

b)

Random

c)

Math

d)

Pandas

3.

Which module of matplotlib library is required for plotting of graph?

a)

plot

b)

pyplot

c)

matplot

d)

None of the above

4.

Which of the following command is correct to install matplotlib?

a)

pip install matplot

b)

pipe install matplotlib

c)

pip install matplotlib

d)

None of the above

5.

---------function of the pyplot module is used to create a figure

a)

show( )

b)

plot( )

c)

ploting( )

d)

plots()

6.

A figure/chart contains __________________

a)

Legend

b)

Axis

c)

labels

d)

Plotting area

e)

All of the above

7.

_____________ function is used to display figure/chart.

a)

showing( )

b)

show( )

c)

display( )

d)

screen( )

8.

To plot x versus y, we can write _____________ #plt is an alias for matplotlib.pyplot

a)

plt.plot(y, x)

b)

plt.plot(x)

c)

plt.plot(x,y)

d)

None of the above

9.

Q9. Values which are displayed on x-axis is called _____________

a)

y ticks

b)

x ticks

c)

xy ticks

d)

None of the above

10.

Q10. Values which are displayed on y-axis is called _____________

a)

y ticks

b)

x ticks

c)

xy ticks

d)

None of the above