Page 319 - Touhpad Ai
P. 319

plt.xlabel(‘Month’)
                        plt.ylabel(‘Rainfall (mm)’)
                        plt.legend()
                        plt.grid(True, linestyle=’--’, alpha=0.6)
                        plt.tight_layout()

                        # Show plot

                        plt.show()
                                                             SECTION – C

                                                       Answer any two questions.

                 Question 9                                                                                           (5)
                    37.  Observe the following chart:






























                         Answer the following questions based on the chart:
                         a.   Which age group has the highest average screen time?
                         b.   What is the average sleep (in hours) for the 10–12 years group?

                         c.   For which age group are screen time and sleep equal?
                         d.   By how many hours does screen time exceed sleep in the 19–21 years group?
                         e.   Which age group shows the largest difference between sleep and screen time, and what is that difference?
                   Ans.  a.  9–21 years.
                        b.  9 hours.

                        c.  None (no group has equal values).
                        d.  2 hours (8 − 6).
                        e.  10–12 years, difference = 6 hours (9 − 3).
                 Question 10                                                                                          (5)

                    38.  Assume data showing how many hours 25 students study in a week.
                         Use the Seaborn function sns.histplot() in Python to create a histogram.
                         Customize the chart by changing colour, number of bins, adding axis labels, and a title.


                                                                                             Sample Question Paper  317
   314   315   316   317   318   319   320   321   322   323   324