0% found this document useful (0 votes)
24 views22 pages

Code File-1

This document is a Computer Science report file for a student in Class XII, detailing various Python programming projects and their respective codes and outputs. It includes a certificate of completion, acknowledgment of support, and a series of programming exercises ranging from basic arithmetic to file handling and database interaction. The report is structured to showcase the student's learning and application of computer science concepts during the academic session 2025-2026.

Uploaded by

ag1209905
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)
24 views22 pages

Code File-1

This document is a Computer Science report file for a student in Class XII, detailing various Python programming projects and their respective codes and outputs. It includes a certificate of completion, acknowledgment of support, and a series of programming exercises ranging from basic arithmetic to file handling and database interaction. The report is structured to showcase the student's learning and application of computer science concepts during the academic session 2025-2026.

Uploaded by

ag1209905
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

EAST DELHI PUBLIC

SCHOOL
COMPUTER SCIENCE RESPORT FILE

CODE FILE
SESSION : 2025 to 2026

NAME : {STUDENT NAME}


CLASS : XII‘{SEC}’
ROLL NO. : {ROLL NO}
SUBJECT : COMPUTER SCIENCE
SUBMITTEd TO : MRS. ANKITA
MA’AM
CERTIFICATE
This is to Certify that
{Student Name} Of Class XII ‘{Sec}’
Worked on the project
“CODING FILE”
To my full satisfaction.

DATE : {DATE}

Signature :
MRS. ANKITA MA’AM

ACKNOWLEDGEMENT
It is a pleasure to acknowledge many
People who knowningly helped me
To complete my project. First and foremost, I would
like to express my
Regards towards ANKITA MA’AM
The honorable teacher of my school
For her encouragement and guidance.
I would also like to express my
Immense gratitude towards,
Cooperation and support extended
During the completion of this project.

Programs
PROGRAM #1
Write a python program to take input for a
number, calculate and print its square and
cube?
CODE:

OUTPUT:

PROGRAM #2
Write a python program to take 2 input
and calculate their sum product and
difference.
CODE:
OUTPUT:

PROGRAM #3
Write a program to take input for a number
check if the entered number is Armstrong
or not?
Code :
Output#1:

Output#2:

PROGRAM #4
Write a python program to take input for 3
numbers, check and print the largest
number?
Code:
Output:

PROGRAM #5
Write a python program to take input for 2
numbers and an (+,-,*,/). Based on the
operator calculate and print the result?
Code:
Output#1 :

Output#2 :

PROGRAM#6
Write a python program to take input for a
number and print its table?
Code:
Output:

PROGRAM#7
Write a python program to take input for a
number and print its factorial?
Code:
Output:

PROJECT#8
Write a python program to take input
for a number and print its factorial
using recursion?
Code:
Output:

PROGRAM#9
Write a python to Display Fibonacci
Sequence Using Recursion?
Code:
Output:

PROGRAM#10
Write a python program to maintain book details
like book code, book title and price using stacks
data structures? (Implement push(), pop(), and
traverse() functions)?
Code:
Output:
PROGRAM#11
Write a python program to maintain employee
details like empno, name and salary using Queues
data structure? (Implement insert(), delete() and
traverse() functions?
Code:
PROGRAM#12
Write a python program to read a file named
“[Link]”, count and print total alphabets in
the file?
Code:

Output:

Content In [Link]:

PROGRAM#13
Write a python program to read a file named
“[Link]”, count and print the following:
(i) Length of the file(total characters in file)
(ii) Total alphabets
(iii) Total uppercase alphabets
(iv) Total lowercase alphabets
(v) Total digits
(vi) Total spaces
(vii) total special characters

Code:

Output:
Content In [Link]:

PROGRAM#14
Write a python program to read a file named
“[Link]”, count and print total words
starting with “a” or “A” in the file?
Code:

Output:

Content In [Link]:

PROGRAM#15
Write a python program to read a file named
“[Link]”, count and print total lines starting
with vowels in the file?
Code:
Output:

Content in [Link]:

PROGRAM#16
Python interface with MySQL
Write a function to insert a record in table
using python and MySQL interface?
Code:
Output:

You might also like