Professional Documents
Culture Documents
Kv sector-24, noida
Xii computer science
2022-23
===================================
Practical list
===================================
****Subject teacher: Rachna katiyar pgt(CS) ****
*******INDEX*******
S. Page
Date No. Signature
No. Aim/Practical
1. Write a menu driven program in python to display
Fibonacci series of a given no and print factorial of a
given no.
2. Write a menu driven code in python to check whether
string entered by user is palindrome or not and
number entered by user is prime or not
3. Program to search any word in given string/sentence
4. Program to read the content of file and display the
total number of consonants, uppercase, vowels and
lower case characters‟
5. Program to read and display file content line by line
with each word separated by „#‟
Program to read the content of file line by line and
6. write it to another file except for the lines contains „a‟
letter in it.
Consider a dictionary with keys as course name and
7. fee as value. Write a program to push course name in
stack where fee is more than 10000. Pop and display
contents of stack on the screen.
Program to create binary file to store Rollno and
8. Name, Search
any Rollno and display name if Rollno found otherwise
“Rollno not found”
Program to create binary file to store Rollno,Name and
9. Marks
and update marks of entered Rollno
10. Program to create CSV file and store
empno,name,salary and
search any empno and display name,salary and if not
found appropriate
message.
11. Program to generate random number 1-6,
simulating a dice
12. Program to implement Stack in Python using list
20. .
SQL QUERIES