Class XII Board Practical
Class XII Board Practical
Class XII Board Practical
4. Write a program to read a text file and display the count of vowels
and consonants in the file.
5. Write a program to create a file stu.dat. Open the file and search for
records with roll 9 and 10. If found display the records.
7. Write a program that asks the user the day number in a year in the
range 2 to 365 and asks the first day of the year-Sunday or Monday or
Tuesday etc. Then the program should display the day on the day
number that has been input.
11. Write a program that depending upon user’s choice, either pushes
or pops an element in a stack.
12. Write a program to read a text file and display the count of
lowercase and uppercase letters in the file.
15. Write a program that inputs a main string and then creates an
encrypted string by embedding a short symbol based string after each
character. The program should also be able to produce the decrypted
string from encrypted string.