Professional Documents
Culture Documents
SUBJET-INFORMARTICS PRACTICES
CLASS-XII (SESSION-2022-23)
CHAPTER-DATA VISUALIZATION
3. What is PyPlot?
Statement: A Line graphs is a tool for comparison and is created by plotting a series of
several points and connecting them with a straight line.
Statement: B You should never use line chart, when the chart is in a continuous data set.
a) Statement A is correct
b) Statement B is correct
5. Write the difference between Line chart and the Bar chart.
8. Consider the following program and answer the four questions from (i) to (v):
import____ as plt
plt.bar([2,3,4,8,1],[2,4,7,3,5], label=_____)
plt.legend(__ )
plt.xlabel(___)
plt.ylabel(‘Height’)
______
10. What is the use of ctrl+enter to end of each statement and enter in the end on the IPython
console prompt?
14. What happened if we specify width argument with scalar value in bar chart?
15. To specify different widths for different bars of a bar chart we can specify width argument
having a__________
16. The default shape of a pie chart is oval but you can always change to circle by using________of
pyplot, sending_______ as argument to it.
18. To view percentage of share in a pie chart, we need to add an argument________ with a format
string.
19. ___________argument is used to emphasize on one or more slices and show them little pulled out.