Which file access method allows records or blocks to be accessed in any order using their relative location?

Options

  • A. Sequential access
  • B. Direct access
  • C. Serial access only
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

B. Direct access

Detailed Explanation

Explanation: Direct access, also called random access, allows a file to be accessed at an arbitrary location without reading all preceding records. It is useful when a program needs to quickly access a particular block or record.