Visualization Quiz
Visualization Quiz
12 IP
* Required
1. Email *
pip
matinfolib
matplotlib
matpiplib
4. 2. To install matplotlib, the following function will be typed in your command 1 point
removing pip
import plot.matplotlib as pt
line
plot
bar
pie
7. 5. The part of chart which identifies different sets of data plotted on plot by 1 point
legends
title
axes
figure
Bar Graph
Line Graph
9. 7. The function used to plot a Histogram is * 1 point
h()
histogram()
hist()
histograph()
view()
show()
display()
open()
11. 9. Observe the output figure. Identify the coding for obtaining this output. * 1 point
a. b.
c. d.
Other:
13. 11. Which plot displays the distribution of data based on the five-number 1 point
summary? *
Scatter plot
Line plot
Box plot
Chart plot
14. 12. Which of the following statements is used to create a histogram of ‘step’ 1 point
plt.hist(x, bins=20,histype=“barstacked”)
plt.hist(x, bins=20)
plt.hist(x, bins=20,histype=“step”)
plt.hist(x, bins=20,histype=hist()
15. 13. Consider the snippet given below: import matplotlib.pyplot as plt 1 point
square
circle
star
diamond
16. 14. The scatter() function: * 1 point
17. 15. Which of the following is an incorrect example of savefig() function? * 1 point
plt.savefig(“bar1.pdf”)
plt.savefig(“bar1.png”)
plt.savefig(“bar1.eps”)
plt.savefig(“bar1.ppt”)
18. 16. Which of the following value is provided by kind keyword for barplot? * 1 point
bar
kde
hexbin
19. 17. which one of these is not a valid line style in matplotlib * 1 point
'-'
'--'
'-.'
'<'
20. 18. which graph should be used If we want to find patterns in data? * 1 point
bar
histogram
scatterplots
basemap
21. 19. In box plot, data will be divided in how many parts? * 0 points
as many as we want
22. 20. True or False Statement 1: Histogram have gaps between bars while in bar 1 point
True, False,True