0% found this document useful (0 votes)
45 views1 page

Aissce Xii Ip 065 Practicals QP 4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views1 page

Aissce Xii Ip 065 Practicals QP 4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

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. Consider the following DataFrame df and answer the given questions (i)- (v)
Rollno Name UT1 UT2 UT3 UT4
1 Prerna Singh 24 24 20 22
2 Manish Arora 18 17 19 22
3 Tanish Goel 20 22 18 24
4 Falguni Jain 22 20 24 20
5 Kanika Bhatnagar 15 20 18 22
(i) Write the command to print top two rows.
(ii) Write the command to print last two rows.
(iii) Write the command to add one more column in dataframe df name total. Total = UT1+UT2+UT3+UT4
(iv) Write the command to display the rows having roll no is 4
(v) Write the command will display the column labels of the DataFrame?

B. Draw the following bar graph representing the number of students in each class.

(i) Set the appropriate label to x-axis and y-axis.


(ii) Set the title of Graph “Number of Students”

Q2. SQL Queries:- Write the SQL Commands to perform the following:- [7]
i) Create a student table with the student_id, name, and marks as attributes where the student_id is
the primary key.
ii) Insert the details of a new student in the above table.
iii) Delete the details of a student in the above table.
iv) Use the select command to get the details of the students with marks more than 80.
v) Write a SQL query to display names into capital letters, small letters, display first 3 letters of name,
display last 3 letters of name, display the position the letter 'A' in name.
vi) Remove extra spaces from left, right and both sides from the text – “Informatics Practices Class
XII”.
vii) Display dayname, monthname, day, dayname, day of month, day of year for today’s date.

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