Computer Science
Computer Science
Science
Practical
Programs
For Grade – X I [2024-2025]
Code – 083
Name: Ishika
Class: XII SCI.
Roll Number:
17
Iwishtoexpress my deep
senseof gratitude and indebtedness to
our learned teacher
Mrs. Neetu Saini , Vishal International
Schoolfor herinvaluable help, advice,
andguidance in the preparation
of this project. I amalso greatly
indebtedto our principal
Mrs. Sunita Bhan
and school authorities for providing
mewiththe facilities andrequisite
laboratory conditions for making this
practical file. Ialsoextendmy thanks
toseveral teachers, my classmates
andfriends whohelped metocomplete
this practical file successfully.
Ishika Thakur
This is to certify that Ishika Thakur
student of Class XII (A), VISHAL
INTERNATIONAL SCHOOL has
completed the practical file during
the academic year 2024 – 2025
towards partial fulfilment of credit
for the Computer Science
practical evaluation of CBSE - 2025
and submitted satisfactory report, as
compiled in the following pages, under
my supervision.
School stamp
Seri PROGRAMS SIGNATU
al RE
No
.
1. Creatinga python programto display Fibonacci series.
Output:-
Output :-
3. Creating apython programtoimplementreturning value(s)fromfunction.
Output :-
Output :-
Output :-
Output :-
9. Write
aprogramtocreatea text file andprint the lines starting with‘
T’ or‘P’ .
(Bothuppercaseandlowercase).
Output :-
10. Read
atextfiletoprintthefrequencyof the word‘ He’ and ‘She’ foundin
thefile.
Output :-
Output :-
Output:-
Queries using[group by]
Output :-
Output :-
Output:-
18. Queries forAggregatefunctions-SUM( ), AVG(
),MIN(), MAX(), COUNT(). Ans –
Output :-
Output :-
Output :-
(iv) -Returns themaximumvalueof a column.
Output :-
Output:-
Output :-
19. WAP toconnectPython with MySQL using database
connectivityandperform thefollowing operation on
dataindatabase: Createa tableindatabase.
Output :-
If thetablealreadyexists