KIIT WORLD SCHOOL, SOHNA ROAD,
GURUGRAM
I am a Promise, I am a Possibility
INFORMATICS PRACTICES
PRACTICAL FILE FOR CLASS XII
SESSION 2023-24
Submitted by : Yashwini Thakur
Subject Teacher : Ms. Priya Kochar
Class : XIl
Roll No. :
ACKNOWLEDGEMENT
I wish to express my deep sense of gratitude and indebtedness to our
learned teacher, Ms. Priya Kochar, KIIT WORLD SCHOOL for
her invaluable help, advice and guidance in the preparation of this
project file.
I am also greatly indebted to our principal Dr. Neelima Kamrah
and school authorities for providing me with the facilities and
requisite laboratory conditions for making this practical file.
I also extend my thanks to a number of
teachers, my classmates and friends who helped me to
complete this project file successfully.
Yashwini
Thakur
CERTIFICATE
This is to certify that Ms. Yashwini Thakur, student of
Class XlI, KIIT WORLD SCHOOL has completed the the
Informatics Practices practical file during the
academic year 2023-24 under the guidance of Mrs
Priya Kochar. She has taken proper care and utmost
sincerity in completing the file.
I certify that this practical file is up to my expectations
and as per the guidelines.
Ms. Priya Kochar
Signature:_______
INDEX
A. MATPLOTLIB
S.No. TITLE SIGNATURE
1 Write a python code to plot a line graph of past
pass percentage of four years of two different
schools.
2 Write a python code to draw the double bar graph
for the data given below using matplotlib
[1,3,6,7,9],[5,2,7,8,2] and[2,4,6,8,10],[8,6,2,5,6].
the graph should have appropriate titles, labels
and legends.
3 Write a python code to display a bar chart of the
popularity of programming language. Sample
data: languages:[python, java ,php, javascript]
Popularity:[8.6,8,7.8,6.4].the width of the bar
should be 0.5 and bar colour should be black.
4 A survey gathered the ages of population of 20
people as below :
Population_ages=[22,55,62,42,21,22,34,42,4,99
,75,12,13,11,65,54,44,43,42,48] Write a
program to plot the histogram with the above
data with 10 bins.
5 Write a Python Program to plot line chart for
values
x=[1,2,3,4,5]
y=[65,45,76,26,80]
B. PANDAS
S.No. TITLE SIGNATURE
5 Create the following Data Frame Sales(using list
of dictionary) containing year wise
sales figures for five salespersons in INR. Use
the
years as column labels, and
salesperson names as row labels.
6 Write a program to generate a series of 10
numbers with a scalar value of 44.
7 Consider the dataframe dtf5 given below:
Write a program to create the above dataframe
(using dictionary of lists) and print the
population and schools column for all rows.
8 Consider the dataframe dtf5 given above:
a) Retrieve the first two rows and all column
values.
b) Retrieve the last three rows and all column
values.
9 Write a program to create a Series object using
a dictionary that stores the number
of students in each section of class 12 in your
school.
10 Write a program to sort the values of a series
object s1 in ascending order of its
values and store it into series object s2.
11 Create a series object ‘vowel’ to store all vowels
individually. Its index should be 1,2,3,4,5.
12 No of students in class 11 and class 12 in three
streams (science, commerce and
humanities) are stored in 2 series object class 11
and class 12. Write code to find total
no of students in class 11 &
class 12 streamwise:
13 Create the following dataframe ‘Sport’
containing sport wise marks for five
students. Use 2D dictionary to create dataframe.
14 Create a Series object ‘population’ to store
population of 5 different metro cities and
display the population that is more than
300000:
15 Create a dataframe from list containing
dictionaries of most economical bike with
its name and rate of three companies. Company
name should be the row labels.
16 Create s Series object using ndarray that has 5
elements in the range 50 and 100:
17 Create a Series object ‘Item’ that stores rate of
each product as given below:
Soap 54
Salt 20
Sugar 39
Write code to modify rate of soap to 44 and
sugar to 42. Print the changed rate:
18 Create the given dataframe aid (using 2D lists)
that stores the aid by NGO’s for
different states: Write a program to display the
aid for:
a) Books and uniform only
b) Shoes only
19 Create the dataframe df(using dictionary of lists)
as shown below: Write
statements to do the following:
a) Display rows 2 to 4 (both inclusive)
b) From rows 2 to 4 (both inclusive), display
columns ‘’Item’’ and ‘’Total profit’’.
c) From rows 2 to 4 (both inclusive), display first
four columns.
C. SQL QUERIES
S.No. TITLE SIGNATURE
20 Create a student table with the student id, name,
age, Gender and marks as attributes where the
student id is the primary key.
21 Insert the details of a new student in the above.
22 Select details of students where marks is more
than 50 above table.
23 Find the min, max, sum and average of the marks
in a student marks table.
24 Write a sql query to order the marks column of
the table in the descending order of the marks.
25 Write a sql query to display square of 5.
26 Write a query to display cube of 5.
27 Write a query to display the number 56 3.854 741
rounded off to one decimal place.
28 Write a query to display “put” from the word
“Computer”.
29 Write a query to display today's date (yyyy-
mm-dd format).
30 Write a query to display ‘DIA’ from the word
“MEDIA”.
31 Write a query to display the first two and last two
characters from the string “India”.
32 Write the output produced by sql command
“month(2002/12/24)”.
33 Display the output of sql command “select
SUBSTR(“techtipnow computers”,12)”.
34 Write sql queries for the following:
a) Create table teacher and insert details of 5
teachers.
b) To display contents of qualification field in
small letters.
c) To display the name f teacher along with
their salary sorted by salary in descending
order.
d) To display the count of teacher postwise.
e) To display the highest and the lowest salary
offered to teachers.
KIIT WORLD SCHOOL, SOHNA ROAD,
GURUGRAM
I am a Promise, I am a Possibility
INFORMATICS PRACTICES
PROJECT REPORT FOR CLASS XII
SESSION 2023-24
“HOSPITAL MANAGEMENT SYSTEM”
Submitted by : Yashwini Thakur
Subject Teacher : Ms. Priya Kochar
Class : XIl
Roll No. :
ACKNOWLEDGEMENT
I wish to express my deep sense of gratitude and indebtedness to our
learned teacher, Ms. Priya Kochar, KIIT WORLD SCHOOL for
her invaluable help, advice and guidance in the preparation of this
project file.
I am also greatly indebted to our principal Dr. Neelima Kamrah
and school authorities for providing me with the facilities and
requisite laboratory conditions for making this project file.
I also extend my thanks to a number of
teachers, my classmates and friends who helped me to
complete this project file successfully.
Yashwini Thakur
CERTIFICATE
This is to certify that Ms. Yashwini Thakur, student of
Class XlI, KIIT WORLD SCHOOL has completed the the
Informatics Practices project file during the academic
year 2023-24 under the guidance of Mrs Priya Kochar.
She has taken proper care and utmost sincerity in
completing the file.
I certify that this project file is up to my expectations
and as per the guidelines.
Ms. Priya Kochar
Internal Examiner External
Examiner
Signature:__________________Signature:__________
____
INDEX
INTRODUCTION
OBJECTIVE OF THE PROJECT
PROPOSED SYSTEM
SYSTEM DEVELOPMENT LIFE SYSTEM (SDLC)
PHASES OF SYSTEM DEVELOPMENT LIFE CYCLE
FLOW CHART
SOURCE CODE
OUTPUT
TESTING
HARDWARE AND SOFTWARE REQUIREMENTS
BIBLIOGRAPHY