Home > Class 12 Informatics Practices > Quizzes > CBSE Class 12 IP Data Visualization Practice Test
CBSE Class 12 IP Data Visualization Practice Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 18% Most missed: “_____________ function of the pyplot module is used to create a figure/chart/plo…”

Data visualisation means graphical or pictorial representation of the data using graph, chart, etc.

The purpose of plotting data is to visualise.

CBSE Class 12 IP Data Visualization Practice Test
Time left 00:00
25 Questions

1. If we have a Series type object (let’s say ‘s1’ ) we can call the plot method by writing _____________
2. Which of the following chart can not be created by using matplotlib.pyplot ?
3. ‘marker’ is an attribute of ____________ function.
4. Which attribute of plot( ) function is used to set the width of line in line plot?
5. Which of the following function is used to plot a line chart?
6. Which of the following is used to design 2D charts/graphs/figures?
7. By default plot() function plots a ________________
8. Values which are displayed on x-axis is called ___________
9. Name of the figure is passed to the ________________ function as parameter.
10. Which module of matplotlib library is required for plotting of graph?
11. ____________ are column-charts, where each column represents a range of values, and the height of a column corresponds to how many values are in that range.
12. A _____________ plot is a graph that shows the frequency of data along a number line.
13. A figure/chart contains ______
14. Which parameter of plot( ) function help to set the values of bins in Histogram?
15. Which attribute of plot( ) function help to specify the type of chart?
16. The following code will create __________ .
import matplotlib.pyplot as pl
a = [1,2,3,4,5]
b = [10, 20, 30, 40, 50]
c = [5, 10, 15, 20, 25]
pl.plot(a,b)
pl.plot(a,c)
pl.show()
17. Which of the following pyplot function is used to plot bar graph.
18. Write a statement to display “Amount” as x-axis label. (consider plt as an alias name of matplotlib.pyplot)
19. The following code will show ___________ lines in the figure/chart.
import matplotlib.pyplot as pl
a = [1,2,3,4,5]
b = [10, 20, 30, 40, 50]
c = [5, 10, 15, 20, 25]
pl.plot(a,b)
pl.plot(a,c)
pl.show()
20. Which of the following pyplot function is used to plot pie chart.
21. Which of the following pyplot function is used to set the label for the x-axis.
22. Which of the following function is used to save the figure/chart?
23. Which of the following library to be imported for creating chart in python?
24. What is the default value of fill property in plot( ) function of creating histogram?
25. Which attribute of plot( ) function is used to set the different color of bars in bar chart?