Practical File Radhika-1
Practical File Radhika-1
PUBLIC SCHOOL
ACADEMIC YEAR 2023-2024
INFORMATICS PRACTICES
NAME- RADHIKA
CLASS- XII-C
ROLL NO- 21
CERTIFICATE
This is to certify that RADHIKA
has successfully completed the practice file of
INFORMATICS PRACTICES
under my guidance and supervision. I am
satisfied with their initiative and efforts for the
complex of curriculum of CBSE CLASS
X1I examination
DATE 01.09.2024
SIGNATURE OF EXAMINER
Ques 1 To write a Python program to create a Series to store 5
students Percentage Using dictionary and print all the elements
that are above 75 percentage.
Code
Output
Output
Output
Code
Output
Output
Ques 7 To write a Python program to create a Series using list and
display the following attributes of the Series: (i) index (ii) dtype (iii)
size (iv) shape (v) hasnans
Code
Output
Output
Ques 10 To write a Python program to create a panda’s DataFrame
called DF for the following table Using Dictionary of List and
perform the following operations: (i) To Display only column 'Toys'
from DataFrame DF. (ii) To Display the row details of 'AP' and 'OD'
from DataFrame DF. (iii) To Display the column 'Books' and
'Uniform' for 'M.P' and 'U.P' from DataFrame DF. (iv) To Display
consecutive 3 rows and 3 columns from DataFrame DF.
code
Output
Output
Ques 13 To write a Python program to create a panda’s
DataFrame called DF for the following table using Dictionary of
List and display the details of students whose Percentage is more
than 85.
Code
Output
Output
Ques 15 To write a Python program to create a panda’s DataFrame
called Students for the following table and demonstrate iterrows
and iteritems.
Code
Output
Ques 16 To Write a Python program to store the details of
Employess’ such as Empno, Name, Salary into a Employee.csv
file. Also, write a code to read employee details from csv fil
Code
Output
Output
STRUCTURED QUERYLANGUAGE
(SQL)
Ques 20 SQL Queries
QUES 1 Create Database Charity.
QUES 9 Write the command to change the name of the column from
firstname to emp.name.
QUES 11 Write the command to change the salary from 20000 to 15000
where city is delhi.
QUES 12 Write the command to change the salary and contibution where
city is lucknow.
QUES 14 Write the command to display the unique cities from table.
QUES 18 Write the command to show the information of those where city
is not Mumbai
DELETE QUERIES
SELECT ROLL NO , NAME AND MARKS FROM STUDENT WHERE MARKS BETWEEN 80
AND 100.
SELECT ROLL NO NAME , MARKS FROM STUDENT WHERE MARKS NOT BETWEEN 80
AND 100.