0% found this document useful (0 votes)
14 views4 pages

XI - Final Practical - File

This document is a practical file for Computer Science submitted by a student of Gwalior Glory High School for Class XI, Session 2024-25. It includes an acknowledgment section expressing gratitude to various individuals who contributed to the project and an index of Python programs covering various topics such as number comparisons, pattern generation, and string manipulation. The file serves as a comprehensive guide for practical exercises in Python programming.

Uploaded by

krinjalagarwal1
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)
14 views4 pages

XI - Final Practical - File

This document is a practical file for Computer Science submitted by a student of Gwalior Glory High School for Class XI, Session 2024-25. It includes an acknowledgment section expressing gratitude to various individuals who contributed to the project and an index of Python programs covering various topics such as number comparisons, pattern generation, and string manipulation. The file serves as a comprehensive guide for practical exercises in Python programming.

Uploaded by

krinjalagarwal1
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/ 4

Gwalior Glory High School

Practical File
Computer Science
Class XI
Session: 2024-25

Submitted By: Submitted To:


Name: Mrs. Neha Sonone
Class:
Section:
Roll No.
ACKNOWLEDGEMENT
Apart from the efforts of me, the success of any project depends largely on
the encouragement and guidelines of many others. I take this opportunity to
express my gratitude to the people who have been instrumental in the
successful completion of this project.

I express deep sense of gratitude to almighty God for giving me strength for
the successful completion of the project.

I express my heartfelt gratitude to my parents for constant encouragement


while carrying out this project.

I gratefully acknowledge the contribution of the individuals who contributed


to bringing this project up to this level, who continue to look after me despite
my flaws.

I express my deep sense of gratitude to the luminary Principal, Mrs.


Rajeshwari Sawant who has been continuously motivating and extending
their helping hand to us.

My sincere thanks to Mrs. Neha Sonone, master in-charge, a guide, mentor


all the above a friend, who critically reviewed my project and helped in
solving each problem, occurred during implementation of the project

The guidance and support received from all my classmates, was vital for
the success of the project. I am grateful for their constant support and help.
INDEX
PYTHON PROGRAMS:
1. INPUT A WELCOME MESSAGE AND DISPLAY IT.
2. INPUT TWO NUMBERS AND DISPLAY THE LARGER / SMALLER NUMBER.
3. INPUT THREE NUMBERS AND DISPLAY THE LARGEST / SMALLEST NUMBER.
4. GENERATE THE FOLLOWING PATTERNS USING NESTED LOOP.

Pattern-1 Pattern-2 Pattern-3


* 12345 A AB
** 1234 ABC
*** 123 ABCD
**** 12 ABCDE
***** 1

5. DETERMINE WHETHER A NUMBER IS A PERFECT NUMBER, AN ARMSTRONG NUMBER OR A


PALINDROME.

6. INPUT A NUMBER AND CHECK IF THE NUMBER IS A PRIME OR COMPOSITE NUMBER .


7. DISPLAY THE TERMS OF A FIBONACCI SERIES.
8. COMPUTE THE GREATEST COMMON DIVISOR AND LEAST COMMON MULTIPLE OF TWO INTEGERS.
9. COUNT AND DISPLAY THE NUMBER OF VOWELS, CONSONANTS, UPPERCASE, LOWERCASE
CHARACTERS IN STRING.

10. INPUT A STRING AND DETERMINE WHETHER IT IS A PALINDROME OR NOT.


11. FIND THE LARGEST/SMALLEST NUMBER IN A LIST/TUPLE
12. INPUT A LIST OF NUMBERS AND SWAP ELEMENTS AT THE EVEN LOCATION WITH THE ELEMENTS AT
THE ODD LOCATION.

13. INPUT A LIST OF ELEMENTS, SORT IN ASCENDING/DESCENDING ORDER USING BUBBLE/INSERTION


SORT.

14. INPUT A LIST/TUPLE OF ELEMENTS, SEARCH FOR A GIVEN ELEMENT IN THE LIST/TUPLE.
15. CREATE A DICTIONARY WITH THE ROLL NUMBER, NAME AND MARKS OF N STUDENTS IN A CLASS
AND DISPLAY THE NAMES OF STUDENTS WHO HAVE SCORED MARKS ABOVE 75.
SAMPLE for Reference

1. PYTHON PROGRAM TO SWAP TWO VARIABLES.

SOURCE CODE:

OUTPUT:

You might also like