Search Header Logo

RL Matplotlib Quiz 1

Authored by Aahnik Daw

Computers

9th - 12th Grade

Used 1+ times

RL Matplotlib Quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

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?