wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Lesson 35 - matplotlib module

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which function is used to plot the graph in matplotlib ?

a)

plot()

b)

graph()

c)

show()

d)

scatter()

2.

Which function is used to show the graph in matplotlib ?

a)

plot()

b)

show()

c)

scatter()

d)

none

3.

Which function is used to assign the title of the graph ?

a)

name()

b)

title()

c)

heading()

d)

none

4.

Which graph is used to plot a continuous graph ?

a)

line plot

b)

scatter plot

c)

bar plot

d)

Histogram

5.

Which module in python is used to plot the graph ?

a)

matplotlib

b)

random

c)

os

d)

datetime

6.

Which function is used for plotting the grid ?

a)

grid()

b)

legend()

c)

plot()

d)

show()

7.

There are total types of loop in python -

a)

1

b)

2

c)

3

d)

4

8.

Which operator is used for assigning values ?

a)

==

b)

=

c)

is

d)

none

9.

Which function is used to add the elements to the set ?

a)

add()

b)

append()

c)

push()

d)

none

10.

Which function is used to find the sum of list element ?

a)

sum()

b)

add()

c)

addition()

d)

none