intro[1]
intro[1]
Computer science
PROJECT file
Class:XII –A
PRACTICAL FILE
Cbse Roll no:
Internal Examiner
External Examiner
Principal
ACKNOWLEDGMENT
S.N Topic
o.
1 Python program
1-24
1 Read a text file line by line and display 2-2
each word separated by a #.
2 Read a text file and display the number 3-4
of
vowels/consonants/uppercase/lowercas
e characters in the file.
3 Remove all the lines that contain the 5-5
character 'a' in a file and write it to
another file.
4 Create a binary file with name and roll 6-7
number. Search for a given roll number
and display the name, if not found
display appropriate message.
5 Create a binary file with roll number, 8-
name and marks. Input a roll number and 10
update the marks
6 Write a program which create random 11-
number generator that generates 11
random numbers between 1 and 6
(simulates a dice).
7 Write a Python program to implement a 12-
stack using list. 13
8 Create a CSV file by entering user-id and 14-
password, read and search the password 15
for given userid.
9 Write a function that receives two 16-
number and generate a random number 16
from the range using this function the
main program should be able to print
three number randomly
1 Write a program that creates a tuple 17-
0 storing first nine terms of Fibonacci 17
series
1 Write a program that reads a date as an 18-
1 integers in the format MMDDYYYY. The 18
program will call a function that prints
print out the date in the format <month
name > <day>,<year>.
1 Write a program that generates 4 terms 19-
2 of an AP by providing initial and step 19
values to a function that returns first four
terms of the series.
1 Write a program that copies one file to 20-
3 another. Have the program read the file 21
names from user.
1 Write function in python, 22-
4 MakePush(Package) &MakePop(Package) 22
to add a new Package and delete a
Package from a List of Package
Description, considering them to act as
push and pop operations of the Stack
data structure.
1 Write a program to implement a stack for 23-
5 these book details (book no.,book 24
name).That is now each item node of the
stack contains two type of information-a
book no. and its name.just implement
pusk and display operation