0% found this document useful (0 votes)
12 views6 pages

Cs Front

Uploaded by

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

Cs Front

Uploaded by

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

CS Practical

Submitted By: Dhruv Rohilla


Class: 12th A
Subject: computer science
School: Angels Public School

Submitted To: Neeta Mam


Certificate
This is to certify that Dhruv Rohilla of
Class 12th A, Roll No. 12, has
successfully completed the practical
titled 'CS Practical' under the guidance
of Neeta Mam during the academic
year 2023-2024.

Date: ________________
Teacher Signature:
______________________
Acknowledgment
I would like to express my special
thanks of gratitude to my teacher
Neeta Mam who gave me the golden
opportunity to work on this practical,
which has helped me learn many
things. I am also thankful to my parents
and friends for their support.
Additionally, I would like to thank the
authors of the book Sumita Arora and
the various online resources like
Google, which provided valuable
information and assistance.

DHRUV ROHILLA
CLASS XII - A
Index
1. PROGRAM FOR FACTORIAL OF A NUMBER.
2. PROGRAM TO CHECK WHETHER THE GIVEN NUMBER IS PRIME OR NOT
3. PROGRAM TO FIND THE CONSONANTS AND VOWELS IN THE GIVEN STRING
4. PROGRAM TO CHECK THE NUMBER IS PALINDROME OR NOT
5. PROGRAM TO CHECK GIVEN STRING IS PALINDROME
6. PROGRAM TO FIND HAPPY NUMBER
7. PROGRAM FOR CHECKING NO.IS PERFECT OR NOT
8. PROGRAM FOR SORTING THE LIST FROM BUBBLE SORT.
9. PROGRAM FOR SORTING THE LIST USING INSERTION SORT.
10.PROGRAM TO WRITE SOME DATA IN TEXT FILE
11.PROGRAM TO TAKE EMPLOYEE DETAILS AND STORES IT IN A TEXT FILE
12.ADDING MORE DATA TO BINARY FILE
13.PROGRAM TO DISPLAY THE LIST IN REVERSE ORDER
14. CREATING CSV FILE
15.PROGRAM TO WRITE, READ AND SEARCH IN CSV FILE
16.STACK IMPLEMENTATION 1
17.STACK IMPLEMENTATION 2
18.PROGRAM TO ESTABLISH THE CONNECTION WITH MYSQL AND SHOW DATA.1
19.PROGRAM TO ESTABLISH THE CONNECTION WITH MYSQL AND SHOW DATA.2
20.SQL PROGRAM-1
21.SQL PROGRAM-2
22.SQL PROGRAM-3
23.SQL PROGRAM-4
24. SQL PROGRAM-5
PROGRAM TO CHECK THE NUMBER IS PALINDROME OR NOT

def is_palindrome(number):
return str(number) == str(number)[::-1]
number = int(input("Enter a number: "))
if is_palindrome(number):
print("is a palindrome.")
else:
oprint("is not a palindrome.")

You might also like