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 are well suited when:-

1. We are dealing out files consisting only of transcript such as records shaped with a characteristic text editor

2. Sequential right of entry is not well right for store long series of information, since each number is store as a character thread. it is since four digit number would need four bytes of storage in its place of the two bytes necessary to store the identical digit as an integer.

3. Sequential right of entry is establish to be slow whilst the hit time is low. Let us regard as an instance if a file by means of 4000 records; if there is a erase or an inform operation moving only 100 records, then the hit speed is very low. If here are 3800 records so as to are artificial by update or delete operation, then the hit tempo is high.

4. Sequential records are execute in a batched deal to overcome the difficulty of low hit rate. This make the chronological access more complex than straight folder access.

5. Direct admission can also be call random access, since it allows equally easy and speedy access to any aimlessly selected destination. rather like traveling by a contented journey transporter instead of dynamic along the limited-access highway with passing the exits one at a time, which is what did you say? you get with chronological access.

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

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site