Methods of Accessing Files - SS2 ICT Lesson Note
There are primarily two methods of accessing files:
Sequential Access: In this method, data is accessed in a linear order, one record after another. It's suitable for tasks that involve processing all records in a file, such as batch processing. However, it's not efficient for accessing specific records randomly.
Source:(webopedia.com)
Source:(computerhope.com)
Random Access: This method allows direct access to any record in the file, regardless of its position. It's efficient for accessing specific records quickly, but it can be more complex to implement and manage.