Practical File - X (AI) (1)
Practical File - X (AI) (1)
Session 2024-25
Practical File Instructions for Board examination
1. On a particular day, the sales ( in rupees) of different items of a baker’s shop are
given below:
Item Price
Ordinary bread 320
Fruit Bread 80
Cakes and pastries 160
Biscuits 120
Others 40
WAP in python using Matplotlib to draw a pie chart for this data.
2. Following data gives total marks (out of 600) obtained by six children of a particular
class. Write PYTHON code to represent the data on a bar graph.
3. In a Zoological park there are 1000 creatures as per the following table given below:
Beast Animals Other Land Birds Water Animals Raptiles
animals
150 400 225 175 50
WAP in python using Matplotlib to draw a pie chart for this data.
4. Various modes of transport used by 1260 students in a given school are given below:
School Bus Private Bus Bicycle Rickshaw On foot
350 245 210 175 280
WAP in python using Matplotlib to draw a pie chart for this data.
5. The data given below shows number of hours spent by the school boy on different
activities on a working day.
Activity School Homework Play Sleep Others Total
No. of 7 4 2 8 3 24
hours
WAP in python using Matplotlib to draw a pie chart for this data.
6. In a company there are 1080 workers of different religions. The data of the different
religion are given below:
WAP in python using Matplotlib to draw a pie chart for this data.
WAP in python using Matplotlib to draw a pie chart for this data.
Hint: Total marks obtained = (105 + 75 + 150 + 120 + 90) = 540
8. The following table gives the number of different fruits kept in a hamper.
WAP in python using Matplotlib to draw a pie chart for this data.
9. The following data shows the agricultural production in India during a certain year.
Foodgrain Rice Wheat Course Pulses
cereals
Production 57 76 38 19
(in millions of
tonnes)
WAP in python using Matplotlib to draw a pie chart for this data.
10. The number of Mathematics books sold by a shopkeeper on six consecutive days is
shown below:
WAP in python using Matplotlib to draw a bar chart to represent the above
information.
11. The following are the runs scored by a team in the first 5 overs in 10 matches:
Match 1 2 3 4 5 6 7 8 9 10
Runs 6 4 2 0 10 20 15 6 18 12
Scored
WAP in python using Matplotlib to draw a bar chart to represent the above
information.
12. WAP in Python to draw the line graph showing the following information. The table
shows the colors favoured by a group of people.
13. Write a python program to create double line graph for the following data items.
Year Sales Profit
2015 185 155
2016 205 162
2017 198 170
2018 230 174
2019 226 180
15. Write Python code to find the mode of the following data:
12, 14, 16, 12, 14, 14, 16, 14, 10, 14, 18, 14