CSis BS
CSis BS
SESSION: 2024-25
CODE: 083
COMPUTER SCIENCE
PRACTICAL FILE
LEARNER’S DETAIL
NAME:
CLASS:
SECTION:
TEACHER’S NAME:
SIGNATURE:
INDEX
S.No. Contents T.Sign
1 Write a python program to input ‘n’ classes and names
of their class teachers to store them in a dictionary and
display the same. Also accept a particular class from the
user and display the name of the class teacher of that
class.
2 Write a program to convert a string to a list.
3 Program to calculate the total amount payable by the
customer on purchase of any item with GST levied on
it. Develop a user friendly approach for the program
using while loop.
4 Program to calculate and display the difference of two
inputted numbers.
5 Write a program using functions to add the first ‘n’
terms of the series: 1+1/2+1/3+1/4 ................ +1/n.
6 Write a program using functions to find Greatest
Common Divisor of a number.
7 Program in python to read entire text file
8 Remove all the lines that contain the character 'a' in a
file and write it to another file.
9 Write a python program to find the sum of all elements
of a list.
10
Write a python program to find the factorial of a
natural number.
11 Write a python program to display Fibonacci series.
12 Create a binary file with name and roll number. Search
for a given roll number and display the name, if not
found display appropriate message.
13 Create a binary file with roll number, name and marks.
Input a roll number and update the marks.
14 Write a random number generator that generates random
numbers between 1 and 6 (simulates a dice).
15 Write a program to create a library in python and
import it in a program.
16 .
17 Write a Python program to implement a stack using
dictionary.
~~THE END~~