Aissce Xii Ip 065 Practicals QP 3
Aissce Xii Ip 065 Practicals QP 3
Aissce Xii Ip 065 Practicals QP 3
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.