RL Matplotlib Quiz 1

RL Matplotlib Quiz 1

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Matplotlib

Matplotlib

10th Grade

10 Qs

Functions and Parameters Summative preview

Functions and Parameters Summative preview

9th - 12th Grade

10 Qs

Matplotlib

Matplotlib

12th Grade

15 Qs

Matplotlib Quiz_2

Matplotlib Quiz_2

12th Grade

8 Qs

Test#1

Test#1

12th Grade

10 Qs

Code.org Unit 3

Code.org Unit 3

9th - 12th Grade

14 Qs

Python: matlpotlib Online Quiz

Python: matlpotlib Online Quiz

9th - 10th Grade

10 Qs

Python: Functions and Parameters

Python: Functions and Parameters

9th - 12th Grade

10 Qs

RL Matplotlib Quiz 1

RL Matplotlib Quiz 1

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Aahnik Daw

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following are true about Matplotlib

a python library that contains the functions and utilities for creating and working on graphs and visualization

Most of the utilities that we require for plotting graphs are under a submodule called pyplot

The scatter() function draws a line from point to point

The plot() function draws a line from point to point

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

the ____() function from the 'plt' module can be used if you wish to view the output of the graph

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Which code could have produced this plot ?

plt.plot([1,2,3,2,6,3,9,1], marker='s', color="g")
plt.plot([1,2,3,2,6,3,9,1], marker='*', color="m")
plt.plot([1,2,3,2,6,2,9,1], marker='star', color="pink")
plt.plot([1,2,3,2,6,3,9,1], marker='star', color="purple")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can change the font and alignment of the labels on the graph using

fontdict and loc parameters in the title() function

fonts and align parameters in the title() function

fontdict and loc parameters in the plot() function

fontdict and align parameters in the show() function

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

With Pyplot, which of the following are NOT true about grids

You can use the grid() function to add grid lines to the plot

By default, the grid() function adds both horizontal as well as vertical black plain lines

The grid lines can be customized in case you wish to view either horizontal or vertical lines

Setting axis="y" would give lines that run from top to bottom

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Choose the correct statements about the subplot function

To show more than one graphs at a time, you can use the subplot() function

The subplots() function takes three arguments that describe the layout of the figure

The first two arguments are the number of columns and rows respectively of the layout.

The first argument represents the index of the current plot

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

A _________ is a graph showing frequency distributions. It is a graph showing the number of observations within each given interval.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?