See what questions your friends are asking today.

What is difference between random file access and sequencial flle access in c?

Answer:
File constructed in a manner in which records may be placed in a random order; also called direct access file. Each record in a random access file has associated with it a relative index number. Whenever a record is read from a random access file, a computer program must produce a relative index number for this record in order to locate the record in the file. This type of file design offers the following
advantages:
(1) it provides rapid access to the desired information. In a decision-making environment where information is needed quickly, random access is a requisite to rapid retrieval;
(2) it is efficient for retrieving a relatively few records at a time; and
(3) it provides a method of keeping files up to date as transactions or events occur

Contributors

«
LanceRas
Trust: 68
  • Computer Programming Supervisor
»

Top Contributors This Week

  • Trust Points: 2704
  • Member Since: 3/09
  • Trust Points: 4842
  • Member Since: 1/12
  • Trust Points: 2557
  • Member Since: 12/10
  • Trust Points: 10062
  • Member Since: 11/09
  • Trust Points: 1871
  • Member Since: 9/09