You are on page 1of 2

www.anjeevsinghacademy.

com
All India Senior Secondary Certificate Examination
School Code: xxxxx
Time 3 Hours | Subject: Informatics Practices (065) | M.M. : 30
Q1. Problem Solving using PANDAS & MATPLOTLIB [5 + 3 = 8]
a) Write the code to create a DataFrame ‘RESULT’ and answer the questions followed. (5)
Col1 Col2 Col3
T1 50.0 98.0 60.0
T2 95.5 65.0 57.5
T3 NaN 75.0 69.5
T4 82.0 85.4 49.0
i) Write a command to add one column Total = col1+ col2 + col3
ii) Write a command to add one row T5 with values 75.5, 98.0, 56.0
iii) Write a command to change the column names Col1 to Maths, Col2 to Science, Col3 to SST.
iv) Write a command to print Score of Moths and Science only.
v) Write a command to update a value of T3 Row and Col1 / update NaN to 85.0

b) Write a Python program to display the Result using a LINE PLOT (table is given in Q1 (a) ) (3)
Maths Science SST
Amit 100 100.0 60.0
Mohan 95 100.0 57.48
Sudha 85 100.0 53.58
(i) Set the title of graph is “Result Analysis”
(ii) Display the legends.
(iii) Display the label of x axis to “Name” and y axis to “Score”
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) To increase the charges by 5% for Suzuki company
e) 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
f) Write output for the following MYSQL queries:-
(i) SELECT LEFT(CarName, 3) FROM CARDEN;
(ii) SELECT MID(CarName, 2,3) FROM CARDEN;
(iii) SELECT POW(CAPACITY, 2) FROM CARDEN WHERE CHARGES IN (12,14);
(iv) 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