State two advantages of these file access methods.
i) Random
ii) Indexed sequential.
Answer:
Advantages of random file organization method.
- Data access is faster.
- File update is faster since there is no batching or pre-sorting of records.
- It uses very little storage space since no index is stored.
Advantages of indexed sequential file organization method.
- Records are not duplicated.
- Records can be accessed sequentially or randomly hence it can be extremely fast.
- The indexed files can have multiple alphanumeric keys.