XII Practical Questions
XII Practical Questions
_____________________________________________________________________
Program 1 :Create Series object temp1,temp2,temp3,temp4 to store the temperature of
days of week1,week2,week3,week4 respectively. Write a script to
a. Print the average temperature per week.
b. Print average temperature of the entire month.
Program 2:WAP that stores the sales of 5 fast moving items of a store for each month in
12 Series objects i.e. S1 Series object stores sales of these 5 items in 1st month,S2
stores sales of these 5 items in 2nd month and so on.
The program should display the summary sales report like this:
Total Yearly Sales, item-wise (should display stem of items’ sales over the months)
Maximum sales of item made: <name of item that was sold the maximum in whole year>
Maximum sales of item 1 made: <month in which that item sold the maximum>
Maximum sales of item 2 made: <month in which that item sold the maximum>
Maximum sales of item 3 made: <month in which that item sold the maximum>
Maximum sales of item 4 made: <month in which that item sold the maximum>
Maximum sales of item 5 made: <month in which that item sold the maximum>
Program 3: Three Series objects store the marks of 10 students in three terms. Roll
numbers of students from the index of these Series objects. The Three Series objects
have the same indexes.
Calculate the total weighted marks obtained by students as per following formula:
Program 12. The score of four teams in 5 IPL matches is available to you.
(a) Write a program to plot these in a bar chart .
(b) Create a pie chart showing the last match’s performance as a wedge
Program 13: Write a program to show the variations in prices for each
month by 3 lines on same line chart. Make sure to add legends and labels. Show
grid also.
Program 14: Navya has started an online business. A list stores the
number of orders in last 6 months. Write a program to plot this data on a
horizontal bar chart.
Program 15: Given the following set of data:
Weight measurements for 16 small orders of French-fries (in grams).
78 72 69 81 63 67 65 75
79 74 71 83 71 79 80 69
(a) Create a simple histogram from the above data
(b) Create a horizontal histogram from the above data
(c) Create a step type of histogram from the above data
(d) Create a cumulative histogram from the above data
__________________________________________________________________________