Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 28

COMPUTER SCIENCE

WITH PYTHON
PROJECT FILE
2019 – 2020

SUBMITTED BY SUBMITTED TO
SAURABH SAINI Ms. SHRADHA ANAND MAM
12 th –A PGT (C.S.)
INDEX
1. Program for Insertion in a list
2. Program for deletion in a list
3. Program for Sorting a given list using Bubble Sort
method.
4. Program for Sorting a given list using Insertion Sort
method.
5. Write a program to calculate the factorial of an integer
using recursion.
6. Write a program to print fibonacci series using
recursion.
7. Write a program for binary search.
8. Write a recursive python program to find the gcd of
any two given numbers
9. Program to count no of word "is" present in the text
file “Story.txt”. The file Story.txt should be created
in order to test the program.
10. Write a program to copy all those lines which starts
with “T” from text file “Story.txt” to
another “ Target.txt ” file.
11. Write a program to count number of words in a file.
12. Various modes of transport used by 1260 students in a
school are given below:

School Bus Private Bus Bicycle Rickshaw On Foot


350 245 210 175 280

Represent the above data by pie chart. Also explore


the highest and lowest data.
13. The no. of absentees in class 12th was recorded in a particular
week. Represent this data on the bar graph:
Days MON TUE WED THRU FRI SAT
No. of Absentees 130 120 135 130 150 80

14. Write a program in python to plot a graph for the function y =


x^2. The value of x should range from -50 to 50.
15. Program to print the longest line of a file “Story.txt”. The file
Story.txt should be created in order to test the program.
16. Write a program for linear search.
17. Write a program for binary search using recursive function.
18. Write a menu based program to perform the operation on stack
in python.
19. Write a menu based program to perform the operation on queue
in python.
20. Program to replace every space with a hyphen while printing the content
of the text file “Story.txt”.
The file Story.txt should be created in order to test the program.
21. Write a program to connect Python with MySQL using database
connectivity and perform the
following operations on data in database: insert,update and delete
on data
22. Queries using DISTINCT, BETWEEN, IN, LIKE, IS NULL, ORDER BY,
GROUP BY,
HAVING( any 5 queries)
23. Queries for Aggregate functions- SUM( ), AVG( ), MIN( ), MAX( ),
COUNT( ) ( any 5 queries)
1. Program for insertion in a list
2. Program for deletion in a list
3. Program for sorting a given list using
Bubble sorting
4. Program for sorting a given list using
insertion sort method.
5. Write a program to calculate the
factorial of an integer using recursion.
6. Write a program to print fabonacci
series using recursion.
7. Write a program for binary search
8. Write a recursive python program to
find the GCD of two given numbers.
9. Program to count number of words “is”
present in the text file “Story.txt”. The file
Story.txt should be created in order to test
the program.
10. Write a program to copy all those lines
which starts with the letter “T” from text
file “Story.txt” to another “Target.txt” file.
11. Write a program to count the number
of words in a file.
12.Represent the data of various modes of
transport for school by a pie chart.
13. The number of absentees in Class12
are recorded in a particular week.
Represent the data on a bar graph
14.Write a program in python to plot a
graph for the function y=x^2. The value of
x should range -50 to +50.
15. Program to print the longest line of the
text file “Story.txt”. The file Story.txt must
be created to test the program.
16. Write a program for linear search.
17. Write a program for binary search
using recursive function.
18. Write a menu based program to
perform the operation on stack in python.
19. Write a menu based program to perform
the operation on queue in python.
20. Program to replace every space with a
hyphen while printing the content of the
text file Story.txt
21. Write a program to connect Python
with MySQL using Database connectivity
and perform the following operations on
data in database :
INSERT
UPDATE
DELETION
22. Queries using DISTINCT, BETWEEN, IN,
LIKE, IS NULL, ORDER BY, HAVING (any 5
queries)
23. Queries for aggregate functions SUM(),
AVG(), MIN(), MAX(), COUNT() (any 5
queries)

You might also like