What is the purpose of cache memory? How sequential access differs from direct access?

Answers

This answer is not selected as best answer. This answer may not be sufficient for exam.

Your limit has been exceed. We have implemented this system because, We got difficulty on managing our servers. Please donate some amount to remove this limit.

Quota: 0 / 30

Donate

The basic purpose is to store program instructions that are frequently re-referenced by software during operation. 

The difference between sequential access and direct access are

Sequential Access Direct Access
In sequential access data is stored at random locations In direct access data is stored at sequential locations
In sequential access addition of data is fast but retrieval of data is slow. In direct access addition of data is slow as reordering of data blocks may be needed to put current data block after the last used data block for the file. But retrieval of data is fast.
Data structure implementing Sequential access is linked list Data structure implementing Direct access is an Array
Audio and Video Cassette uses sequential access method. Magnetic Disk and Optical Disk uses Direct access method.
If you found any type of error on the answer then please mention on the comment or submit your new answer.
Leave your Answer:

Click here to submit your answer.

Discussion
0 Comments
  Loading . . .