tags:

views:

140

answers:

1

I have certain doubts about how the sequential files are stored and I would like to know about it.

+1  A: 

The way in which sequential files are stored is mostly irrelevant, what does matter is that sequential files can be accessed sequentially from your program. This is in contrast to random access files which can be accessed by using a 'record index' to go to a specific record in the file.

However, in today's systems and programming languages there's little actual difference between the two modes, since you can 'seek' to any position within a sequential file in a very efficient manner. In fact, the concept of random access files and sequential files stopped being used many years ago.

Aviad P.