This repository has been archived by the owner on Jan 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
# fslab | ||
1. Write a program to read series of names, one per line, from standard input and write | ||
these names spelled in reverse order to the standard output using I/O redirection and | ||
pipes. Repeat the exercise using an input file specified by the user instead of the | ||
standard input and using an output file specified by the user instead of the standard | ||
output. <br> | ||
2. Write a program to read and write student objects with fixed-length records and the | ||
fields delimited by “|”. Implement pack ( ), unpack ( ), modify ( ) and search ( ) | ||
methods.<br> | ||
3. Write a program to read and write student objects with Variable - Length records | ||
using any suitable record structure. Implement pack ( ), unpack ( ), modify ( ) and | ||
search ( ) methods.<br> | ||
4. Write a program to write student objects with Variable - Length records using any | ||
suitable record structure and to read from this file a student record using RRN.<br> | ||
5. Write a program to implement simple index on primary key for a file of student | ||
objects. Implement add ( ), search ( ), delete ( ) using the index.<br> | ||
6. Write a program to implement index on secondary key, the name, for a file of | ||
student objects. Implement add ( ), search ( ), delete ( ) using the secondary index.<br> | ||
7. Write a program to read two lists of names and then match the names in the two lists | ||
using Consequential Match based on a single loop. Output the names common to | ||
both the lists.<br> | ||
8. Write a program to read k Lists of names and merge them using k-way merge | ||
algorithm with k = 8.<br> |