Professional Documents
Culture Documents
Practical Exam Paper Class Xii Ip 2023
Practical Exam Paper Class Xii Ip 2023
MARKS DISTRIBUTION
MARKS DISTRIBUTION
2. An analysis has been done in the school to identify hobby of Students as given below.
Hobby Music Dance Games Reading Drawing
Number of Students 130 150 180 75 160
Represent this data on the Pie Chart . Slice colour must be pink,green,blue,gold and light sky blue PART-
2 SQL QUERIES
3. Consider the following tables HOSPITAL. Write SQL commands for the following questions:
No Name Age Department Dateofadmin Charge Sex
1 Arpit 62 Surgery 21-01-2006 300 M
2 Zayana 18 ENT 12-12-2005 250 F
3 Kareem 68 Orthopedic 19-02-2006 450 M
4 Abhilash 26 Surgery 24-11-2006 300 M
5 Dhanya 24 ENT 20-10-2006 350 F
6 Siju 23 Cardiology 10-10-2006 800 M
7 Ankita 16 ENT 13-04-2006 100 F
8 Divya 20 Cardiology 10-11-2006 500 F
9 Nidhin 25 Orthopedic 12-05-2006 700 M
10 Hari 28 Surgery 19-03-2006 450 M
a) To show all information about the patients whose names are having six characters only.
b) To reduce Rs. 200 from the charge of female patients who are in Cardiology department.
c) To insert a new row in the above table with the following data :
a. 11, „Rakesh‟, 45, ″ENT″, {08/08/08}, 1200, „M‟ .
d) To remove the rows from the above table where age of the patient > 60.
e) Increase the charge of all department by 100.
f) Display details of department in ascending order of charge.
g) Change the name of department as cardiology whose age is 16.
2. A survey gathers height and weight of 60 participants and recorded the participants’ ages as:
Ages = [1,1,2,3,5,7,8,9,10,10,11,13,13,15,16,17,18,19,20,21,21,23,24,24,24,25,25 ,
25,25,26,26,26,27,27,27,27,27,29,30,30,30,30,31,33,34,34,34,35,36,36,37 ,37,37,3
8,38,39,40,40,41,41]
Write a program to plot a histogram from above data with 20 bins. [4]
a) To show all information about the student whose city re having six characters only.
b) Display details of those students whose class is ″XII″.
c) Display name of students and class whose marks is in range of 350 to 400.
d) To remove the rows from the above table where marks is less than 250.
e) Display details of students in descending order of marks
f) Change the name of city as INDORE whose marks is 256
g) Display total number of male and female students.
COACH
COACH NAME AGE SPORTS DATOFAPP PAY SEX
ID
1 KUNAL 36 KARATE 27-03-1996 4000 M
2 RAVINA 34 KARATE 20-01-1998 4200 F
3 KARAN 34 SQUASH 19-02-1998 5000 M
4 TARUN 33 BASKET BALL 01-01-1998 2500 M
5 ZUBIN 36 SWIMMING 12-01-1997 3000 M
6 KANAKA 35 SWIMMING 24-02-1997 2750 F
MARKS DISTRIBUTION
SNO TOPIC MARKS
1 PROGRAM USING PANDAS AND MATPLOTLIB 8
2 SQL QUERIES 7
3 PRACTICAL FILE 5
4 PROJECT FILE 5
5 VIVA VOCE 5
TOTAL 30
PART-1 PROGRAM USING PANDAS AND MATPLOTLIB
1. Write a Pandas program to select the name of persons whose height is between 5 to 5.5 (both values
inclusive) 'name': ['Asha', 'Radha', 'Kamal', 'Divy', 'Anjali'],
'height': [ 5.5, 5, np.nan, 5.9, np.nan],
'age': [11, 23, 22, 33, 22] [4]
2. Write a program to plot a bar chart from the medals won by four countries. Make sure that bars are
separately visible with title and legend. [4]
PART-2 SQL QUERIES
3. Based on table LOAN given here, write suitable SQL queries for the following: [7]
a) Display the details of all the loans with less than 40 instalments.
b) Display the amounts of various loans from the table Loan_Accounts. A loan amount
should appear only once.
c) Display the details of all the loans whose Loan_Amount is in the range 400000 to
500000.
d) Display the AccNo, Cust_Name, and Loan_Amount for all the loans for which the
Cust_Name ends with 'Sharma'.
e) Display the details of all the loans in the ascending order of their Loan_Amount.
f) Delete the records of all the loans whose start date is before 2007.
g) increase the interest rate by 0.5% for all the loans for which the loan amount is more
than 400000.
3. PRACTICAL FILE [5]
4. PROJECT FILE [5]
5. VIVA VOCE [5]