Get premium membership and access questions with answers, video lessons as well as revision papers.

Explain the following methods of organising computer file: i. Sequential file organisation. ii. Hash access file organisation.

      

Explain the following methods of organising computer file:
i. Sequential file organisation.
ii. Hash access file organisation.

  

Answers


Kavungya
i, Sequential organization
- Records are organised in ascending sequence according to a certain key
- Sequential files are accessed sequentially, one record after the next
* Suitable
o for master files in a batch processing environment o where a large percentage of records (high
hit-rate) are to be accessed
* Not suitable for online access requiring a fast 'response as file needs to be accessed
sequentially -
ii. Hash File Organization
In a hash file, records are not stored sequentially in a file instead a hash function is used to
calculate the address of the page in which the record is to be stored.
The field on which hash function is calculated is called as Hash field and if that field acts as the
key of the relation then it is called as Hash key. Records are randomly distributed in the file so it
is also called as Random or Direct files. Commonly some arithmetic function is applied to the
hash field so that records will be evenly distributed throughout the file.
Kavungya answered the question on May 13, 2019 at 13:53


Next: During the extraction of lead from its ores one of the main ore used is Galena
Previous: Identify five types of file extensions.

View More ATD Information Communication Technology Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions