Ip Exam 2
Ip Exam 2
Ip Exam 2
Informatics Practices
Exam 3 MaxMarks :20
Questions 1 to 10 carries 1 mark each,
Questions 11 and 12 carries 3 marks each
Question 13 carries 4 marks
1. Write the name of module used for data visualization in python?
2. What is the use of xticks () in plotting ?
3. Which argument must be set with plotting functions for legend( ) to display the
legends?
(A) data (B) label (c) xlabel. (d) grid
4. Which of the following function is used to save a plot to disk?
(A) save( ) (B) figsave( ) (C) savefig( ) (D) SaveFig( )
5. Write a python statement to import package for plotting charts in python?
6. Statement1: There is a difference between histogram and bar chart
Statement2: Bydefault, the bars in a histogram will be separated by a different color
(A) Statement 1 is True, but Statement2 is False
(B) Statement 2 is True, but Statement1 is False
(C) Both Statements are True
(D) Both Statements are False
7. Which argument is used to change the color of the border of bars in Histogram?
(A) edgecolor (B) color (C) colour (D) barcolor
8. What is the purpose of a legend?
9. Write the name of plot which 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 in python?
10. The numerical data shown by the number of data points that fall within a particular
range in a histogram is called _______.
11. Represent the following data on a line chart: