Professional Documents
Culture Documents
XII CS Practical File
XII CS Practical File
_____/\____ ____/\_____
| | |
|
RECTANGLE() TRIANGLE() CUBE()
CUBOID()
PRG9 WAP to create a file story.txt then read and store all the vowels in a
new file vowels.txt
[2.7.21] and all the consonants in the file consonants.txt
PRG10 WAP to create a student.txt file for 5 different students with roll
numbers, names n total marks as items.
[2.7.21] Read the file and add 2 more records in it. Then retrieve all the
records and display those which have scored above 350.
PRG12 WAP to create a text file source.txt. Copy content of source.txt onto
target.txt
[5.7.21] bearing the lines starting with the characters '@' using as a function.
PRG19 WAP to create a CSV file- employee.csv with employee no., name n salary.
Read the employee information
[24.7.21] if salary is in between 50000-60000. Display the file by suppressing
EOL(end of line) translation.
PRG20 WAP to enter the following records in a binary file item no=interger;
price= float; item name=string; qty=integer.
[31.7.21] No. of record to be entered should be accepted from the user and then
read and display the records in the given format.
Item no.:-----; Qty:-------; Price:------; Amount:------; Item name:----
PRG21
PRG22
PRG23
PRG24
PRG25