Computer Science, asked by Sanchari1119, 1 year ago

What are the differentiate between sequential and random access file?

Answers

Answered by AJAYMAHICH
0

The terms random access and sequential access are often used to describe data files. A random-access data file enables you to read or writeinformation anywhere in the file. In a sequential-access file, you can only read and write information sequentially, starting from the beginning of the file.

Both types of files have advantages and disadvantages. If you are always accessing information in the same order, a sequential-access file is faster. If you tend to access information randomly, random access is better.

Random access is sometimes called direct access.

Similar questions