practical class 12
practical class 12
Q2. Write a Program to enter the string and to check if it’s palindrome or
not using loop.
Q3.Write a program to Input any number from user and calculate factorial
of a number.
Q5. Program to read the content of file and display the total number of
consonants, uppercase, vowels and lower case characters.
Q6. Program to read and display file content line by line with each word
separated by „#‟
Q7. Write a python program to write structure ,list in the binary file.
Q8. Write a python program to write structure ,dictionary to the binary
file.
PYTHON
Q11. Write a python program to insert/append a record in a binary file
student .
Q12. Write a menu driven program to perform all the basic operations
using dictionary on student binary file such as inserting, reading ,
updating , searching and deleting a record.
Q13. Program to create CSV file and store empno,name,salary and search
any empno and display name,salary and if not found appropriate
message.
Q14. Write a program to write data onto “student” CSV file using
writerow() method.