Describe a scenario where sequential access is ...
Describe a scenario where sequential access is more suitable than random access, and vice versa.
Loading lesson…
Sequential access is more suitable when processing large amounts of data in a particular order, like reading a large log file sequentially. It's efficient for batch processing. Random access is ideal when quick retrieval of specific data is necessary, like accessing a particular customer's information from a database. For example, in a library system, sequentially listing all books would be a sequential task, while finding a specific book by its ISBN would require random access.