Group E
1.
Create a sequential data file “std.dat” to store
name and marks obtained in English, Math and Science subjects for a few
students. [SEE MODEL 2065]
2.
Write a program to store records regarding the
information of Book Number, Book’s name and Writer’s name in a sequential data
file called “Library.dat”. [SLC 2065 R]
3.
A sequential data file called “MARKS.DAT”
contains roll no., name, English, nepali and maths fields. Write a program to
display all the contents of data file. [SLC 2065 S], [SLC 2067 S]
4.
Write a program to create a sequential data file “Employee.dat” to store employees’
name, address, age and gender. [SLC 2066 R]
5.
A data file “LIB.TXT” consists of Book’s name,
Author’s name and price of books. Write a program to count and display the total
number of records present in the file. [SLC 2066 S]
6.
A sequential data file “EMP.DAT” contains name,
post and salary fields of information about employees. Write a program to
display all information of employees along with tax amount also.(Tax is 15% of
salary) [SLC 2067 R]
7.
A sequential data file called “student.dat”
contains some records under the fields Name, English, Nepali and computer. Write a program to add some more records in the
same sequential data file. [SLC 2068 R]
8.
Write a program
to view those records from “Employee.dat” sequential data file having
employee’s name, department, appointment data and salary whose salary is more
than Rs 5000. [SLC 2068 S]
9.
Write a program
to create a data file “teldir.dat” to store name, address and telephone number
of employees according to the need of the user. [SLC 2069 R]
10.
A sequential data
file “Staff.dat” contains the name, address, post and salary of the employees.
Write a program to read and display all the records stored in the above file. [SLC
2069 S]
11.
A sequential data
file called “Marks.dat” contains name, english, nepali, maths and science
fields. Write a program to display all the contents of that data file. [SLC
2070 R]
12.
A sequential data
file “Record.dat” has records with field name, addres, age and salary. Write a
program to display only those records whose age is greater than 26. [SLC
2070 S]
13.
A data file
“Salary.dat” contains the information of employee regarding their name, post
and salary/ Write a program to display all the information of employee whose
salary is greater than 15000 and less than 40000. [SLC 2071 R]
14.
A sequential data
file called “Marks.dat” has stored data under the field heading Roll No, Name,
English, Nepali and maths. Write a program to display all the information of
those students whose marks in Nepali is more than 50. [SLC 2071 S]
15.
A sequential data
file called “Marks.dat” contains NAME, AGE, CITY AND TELEPHONE fields. Write a
program to display all the contents of the data file. [SEE 2072]
16.
Create a data file to store the records of few
employees having Name, Address, Post, Gender and Salary fields. [SEE 2073]
17.
Write a program to store Roll no., Name, Class
and Address of any five students. [SEE 2074]
18.
A data file "STAFF. dat" has stored
records of few employees with EmPID, First name, Lastname, post and salary.
Write a program to display all the records of the employees whose salary is
more than 40,000. [SEE 2075]
19.
Write a program to create a sequential data file
"salary.data" to store programmer's Name, salary and post according
to the need of the user. [SEE 2075 S2]
20.
A Sequential data file called
"SEE.DAT" has stored data under the field heading Symbol No., Name,
English, Nepali, Maths and Computer. Write a program to display all the
information of those students whose marks in Computer is more than 80. [SEE
2074 S]
No comments:
Post a Comment