You are on page 1of 2

CHAPTER WISE REVISION SHEET

SUBJET-INFORMARTICS PRACTICES

CLASS-XII (SESSION-2022-23)

CHAPTER-DATA VISUALIZATION

1. What is Data Visualization?

2. Which library is imported to draw charts in Python?

a) csv b) matplotlib c) numpy d) pandas

3. What is PyPlot?

4. Consider the following statements with reference to Line charts

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

c) Statement A is correct but statement B is incorrect

d) Statement A is correct but statement B is correct

5. Write the difference between Line chart and the Bar chart.

6. What is Pie Chart?

7. The date points being plotted on a graph/chart are called_________

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’)

plt._____(‘Vertical Bar Chart’)

______

i) Which module will be imported in Line1 for given program?

a) matplot b) matplotlib.pyplot c) plotlib d) none of the above


ii) Name the label that can be used to represent the bar chart in Line2.

a) Data b) Data Value c) Depend’s on user d) All of these

iii) Which message is best suited for xlabel?

a) X values b) Y values c) legend d) vertical

iv) Which function is used to show the title of bar chart?

a) tit( ) b) title( ) c) title d) All of these

9. Define the use of xlabel () and ylabel ().

10. What is the use of ctrl+enter to end of each statement and enter in the end on the IPython
console prompt?

11. What is the use of show ()?

12. Which argument is used in figure () to change the plot size.

13. What are the different possible line styles?

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.

17. The pie () function, plots a________ data range only.

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.

20. Name the function to add ticks on axes.

You might also like