Important SEE QBASIC File Handling Solutions
Important SEE QBASIC File Handling Solutions
1. Write a program to create a sequential data file named "record.txt" and store Roll
number, Name, Address and Class of a student.
2. Write a program to create a sequential data file named "record.txt" and store Roll
number, Name, Address and Class of few students.
3. Write a program to add few more record in a data file named "record.txt" which
contains Roll number, Name, Address and Class of few students.
5. Write a program to display only those records whose name starts with "K" from data
file named "record.txt" which contains Roll number, Name, Address and Class of
several students.
6. Write a program to display only those records who lives in "POKHARA" from data
file named "record.txt" which contains Roll number, Name, Address and Class of
several students.
8. Write a program to display only those records whose roll number is in from 20 to 30
from data file named "record.txt" which contains Roll number, Name, Address and
Class of several students.
10. Write a program to delete all those records whose address is "KATHMANDU"from
data file named "record.txt" which contains Roll number, Name, Address and Class of
several students.
Write a program to display all the name of students who failed in any one or more
of the subject.
Write a program to count total number of students who passed in all the subject.
Write a program to calculate and display percentage of all the students along
with the roll number and name.
Write a program to display name of the students who failed only in English and
Nepali.
Write a program to delete all the records of students who failed in any one or
more of the subject.