DELHI PUBLIC SCHOOL, KALYANPUR
SESSION - 2022-23
COMPUTER SCIENCE
PROJECT FILE
SUBMITTED TO : SUBMITTED BY :
DISHA DIAS Dhruv Singh Gaur
XI – S7
03
ACKNOWLEDGEMENT
I would like to convey my heartfelt thanks to Ms. Disha Dias my faculty of Computer Science who gave
her valuable suggestions and guidance for the completion of my project. She helped me to comprehend
important details of the project. My project has been successful only because of her able guidance and
support.
Signature of the Principal Dhruv Singh Gaur
XI – S7
03
Signature of the Subject Teacher
CONTENTS
[Link]. TOPIC PAGE NO.
1. COVER PAGE 1
2. ACKNOWLEDGEMENT 2
3. PROGRAMS BASED ON 4 -10
FLOW CONTROL STATEMENTS
4. PROGRAMS BASED ON STRINGS 11- 17
5. PROGRAMS BASED ON TUPLES 18-24
6. PROGRAMS BASED ON LISTS 25-31
7. PROGRAMS BASED ON DICTIONARIES 32-38
PROGRAMS BASED
ON FLOW CONTROL
STATEMENTS
1. WRITE A PROGRAM TO PRINT THE TABLE
OF ANY NUMBER.
[Link] a Program to check whether the entered no is
palindrome or not.
3. Write a Program to check whether the no. is prime
or not.
4. Write a Program to display sum of even no.s up to
no. n entered by the user.
5. Write a Program to accept a no from user and print
the factorial of that no.
6. Write a Program to check whether the entered no.
is Armstrong or not.
PROGRAMS BASED
ON STRINGS
[Link] a Program that reads a string n displays the
longest substring of the given string.
8. Write a Program to remove all vowels from a
string.
9. Write a Program to check the string is palindrome
or not.
[Link] an Program to print to count the no. of
vowels in string “Pineapple”.
11. Write a Program to access each character, one by
one, of the string “Hello”.
[Link] a Program that reads a line, then counts
words and displays how many words are there in line.
PROGRAMS BASED
ON LISTS IN PYTHON
13. Write a Program to input a no. and perform linear
search.
14. Write a Program to split original list into two
separate lists.
15. Write a Program to arrange a list on integer
elements in ascending order using bubble sort
technique.
16. Write a Program to display unique and duplicate
items of a given list into two different lists.
17. Write a Program to exchange first half elements of
list with 2nd half elements assuming list is having even
no. of elements.
18. Write a Program in python to display those strings
which are starting with character ‘D’ or ‘d’ from the
given list L.
PROGRAMS BASED
ON TUPLES IN
PYTHON
19. Write a Program to create a tuple by accepting
elements from the user using while loop.
20. Write a Program to store ‘n’ no. of subjects in a
tuple.
21. Write a Program to create a nested tuple to store
roll no. , name and marks of students.
22. Write a Program to input n numbers from the
user, store these no. in a tuple and print the max, min
no. along with the sum and mean of all the elements
from this tuple.
23. Write a Program to count the frequency of
elements in a tuple.
24. Write a Program to perform linear search in
tuple.
PROGRAMS BASED
ON DICTIONARIES IN
PYTHON
25. Write a Program to input total sections and
stream name in 11th class and display all info on the
output screen.
26. Write a program to count the no of times a
character appears in a given string using a dictionary.
27. Write a Program to create a dictionary with
names of the employees and their salary.
28. Write a Program to store student’s admission no. ,
roll no, name and marks in a dictionary and display
information on the basis of admission no.
29. Write a Program to input ‘n’ names and phone no
to store it in a dictionary and print the phone no.
30. Write a Program to convert a no entered by the
user into its corresponding no in words.