English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

it is the question of computer application .subject file structure

2007-02-22 01:00:05 · 2 answers · asked by Anonymous in Computers & Internet Software

2 answers

I assume that "direct access" means "random access" (as opposed to "sequential access").
Direct access has the advantage of being able to read/write the data starting at any point in the file. Since all preceding data does not have to be read/written; it is a lot faster(for that particular data). There is, however, the indexing overhead which can add up (if you are reading all or most of the file).
Sequential access does not have this overhead.
It sounds like you are learning from a very old lesson book from when tape storage was the commonest mass storage technique.
Since most sequential files are now stored on disk, they can now be accessed directly if necessary.

2007-02-22 01:23:02 · answer #1 · answered by J C 5 · 0 0

sequential is accessed so as i.e. a million then 2 then 3 then 4 then 5. random get right of entry to enables you to flow a million then 5 then 3 then 2 etc I have no thought for advantageous yet i think of i'm kinda close. you attempting to help your C++ chum returned arent you???

2016-11-24 23:40:10 · answer #2 · answered by ? 4 · 0 0

fedest.com, questions and answers