You are on page 1of 1

ST. ANDREWS SCOTS SR. SEC.

SCHOOL
9th Avenue, I.P.Extension, Patparganj, Delhi-92
IP practical Examination (2023-24)
Subject: Information Practices (065) SET I
School Code: 25033
Time: 3 Hours M.M. : 30
Q1. Problem Solving using PANDAS & MATPLOTLIB [5 + 3 = 8]
A. Write a program in Python Pandas to create the following DataFrame batsman from a Dictionary: (5)
B_NO Name Score1 Score2
1 Sunil Pillai 90 80
2 Gaurav Sharma 65 45
3 Piyush Goel 70 90
4 Kartik Thakur 80 76
Perform the following operations on the DataFrame :
i) Add both the scores of a batsman and assign to
column “Total”
ii) Display the highest score in both Score1 and Score2
of the DataFrame.
iii) Display the DataFrame.
iv) Display the details of Piyush Goel

B. Write the code to draw the following line graph. (3)


(i) Set the appropriate label to x-axis and y-axis.
(ii) Set the title of Graph “Number of Students”
(iii) Show the grid lines.
Q2. SQL Queries:- Consider the following tables CARDEN. Write SQL commands for the following
statements.

a) To display the names of all Silver colored Cars.


b) To display name of car, Company and capacity of Cars in descending order of their seating capacity
c) To display the highest charges at which a vehicle can be hired from Carden.
d) Write a SQL query to display CarName and Company together of those cars which name are having 'n'
at anywhere or charges greater than 14
e) Write output for the following MYSQL queries:-
(i) SELECT LEFT(CarName, 3) FROM CARDEN;
(ii) SELECT MID(CarName, 2,3) FROM CARDEN;
(iii) SELECT MAX(CHARGES), COMPANY FROM CARDEN GROUP BY COMPANY;
Q3 Practical Records [5]
Q4 Project Work [5]
Q5 Viva voce [5]
External Examiner Internal Examiner
Name : _______________________ Name : _________________________
Sign : _______________________ Sign : _________________________
Examiner No: __________________ Examiner No: ____________________

You might also like