Hello students in this article we will share most important question for class 12 Informatics practices question for class 12 Board examination.
Write down the answer of the following questions.
1)Choose the right code from the following for Statements 1.
i) matplotlib as plt ii) pyplot as plt
iii) matplotlib.pyplot as plt iv) matplotlib.plt as pyplot
2)Identify the name of the function that should be used n Statement 2 to plot the above graph.
i) plot() ii) bar() iii)hist() iv) line()
3)Choose the correct option for the statement 3.
i) title("Rating") ii) ytitle("Rating")
iii) ylable("Rating") iv) yaxis("Rating")
4)Choose the right function/method from the following for the statement 4
i)display() ii)print() iii)bar() iv)show()
5) In case Mr. Sharma wants to change the above plot to the any other shape, which statement, should he change
i)statement1 ii)statement2 iii)statement3 iv)statement4
Write code to do the following:
1. Plot the following data on line chart:
Runs in Overs | 10 | 20 |
MI | 110 | 224 |
RCB | 85 | 210 |
2. Write code to plot a line chart to depict the run rate of T20 match from given data:
Overs | Runs |
5 | 45 |
10 | 79 |
15 | 145 |
20 | 234 |
0 Comments