Q. Give an instance of an application in which data in a file should be accessed in the following order:
a. Sequentially
b. Randomly
Answer:
a. Print the content of the file.
b. Print the content of record i this record is able to be found using hashing or index techniques.