Provide an example application domain in which sequentially
Provide an example application domain in which sequentially accessed files are well suited to the problem. Your domain should illustrate that in some cases the information must be randomly accessed, yet at other times it must be sequentially accessed.
Solution
Sequential access files ar well suited when:
1. We are processing files consisting only of text, such as files created with a typical text editor
2. Sequential access is not well suited for storing long series of numbers, because each number is stored as a character string. it is because four-digit number would require four bytes of storage instead of the two bytes required to store the same number as an integer.
3. Sequential access is found to be slow when the hit rate is low. Let us consider an example if a file with 4000 records; if there is a delete or an update operation affecting only 100 records, then the hit rate is very low. If there are 3800 records that are affected by update or delete operations, then the hit rate is high.
4. Sequential files are executed in a batched transaction to overcome the problem of low hit rate. This makes the sequential access more complicated than direct file access.
5. Direct access can also be called random access, because it allows equally easy and fast access to any randomly selected destination. Somewhat like traveling by a happy journey transporter instead of driving along the freeway and passing the exits one at a time, which is what you get with sequential access.

