Question

In: Computer Science

Why is a device such as a tape-drive a poor secondary storage device for Random/Direct access to a file?


Why is a device such as a tape-drive a poor secondary storage device for Random/Direct access to a file?

Solutions

Expert Solution

Tapes are Sequential Access device i.e we can access recors sequence by sequence.
Suppose I want the 10th record from Tape, So we need to traverse from 1,2...10th to get the 10th record because they access in sequential manner .

So any random access will make our lifes too complicate dbecause we need to start from begeinning to get the random record and it might be very expensive operation to get all the random records

Hence they are poor secondary storage device for Random/Direct access to a file


Also we know secondary storage are slow i.e the time take to get the records takes more time than Cache/RAM


Related Solutions

1-Why is a device such as a tape-drive a poor secondary storage device for Random/Direct access...
1-Why is a device such as a tape-drive a poor secondary storage device for Random/Direct access to a file? 2-. Describe 3 different approaches that can be implemented with respect to file system mounting.? 3-The concept of a global clock is NOT realistic – why?
For each of the following file processing operations, indicate whether a sequential file, indexed random file, virtual storage access method, hashing,
For each of the following file processing operations, indicate whether a sequential file, indexed random file, virtual storage access method, hashing, or pointer structure would work best. You may choose as many as you wish for each step. Also, indicate which would perform the least optimally.a. Retrieve a record from the file based on its primary key value.b. Update a record in the file. c. Read a complete file of records. d. Find the next record in a file. e....
describe the mechanism that supports random file access in Java.
describe the mechanism that supports random file access in Java.
Why is the interview, in general, such a poor measurement device for inferring personality traits
Why is the interview, in general, such a poor measurement device for inferring personality traits
).Modify the project so that records are inserted into the random access file in ascending order...
).Modify the project so that records are inserted into the random access file in ascending order using an insertion sort methodology with the Social Security Number acting as the key value. This requires defining the method compareTo() in the Personal and Student classes to be used in a modified method add() in Database. The method finds a proper position for a record d, moves all the records in the file to make room for d, and writes d into the...
Which statement is NOT correct? a. Indexed random files are dispersed throughout the storage device without regard for physical proximity with related records. b. Indexed random files use disk storage ...
Which statement is NOT correct? a. Indexed random files are dispersed throughout the storage device without regard for physical proximity with related records.b. Indexed random files use disk storage space efficiently.c. Indexed random files are efficient when processing a large portion of a file at one time.d. Indexed random files are easy to maintain in terms of adding records.
The poor find it difficult to access the credit market. Discuss why, and make sure you...
The poor find it difficult to access the credit market. Discuss why, and make sure you touch on the following topics: asymmetric information, moral hazard, adverse selection, the lender’s problems, and how microfinance institutions are able to solve these. What does the recent evidence say about the impact of microfinance institutions on measures of household wellbeing?
1).Modify the project so that records are inserted into the random access file in ascending order...
1).Modify the project so that records are inserted into the random access file in ascending order using an insertion sort methodology with the Social Security Number acting as the key value. This requires defining the method compareTo() in the Personal and Student classes to be used in a modified method add() in Database. The method finds a proper position for a record d, moves all the records in the file to make room for d, and writes d into the...
OS(Operating Systems) [3] (a) Define DMA (Direct Memory Access).       (b) An input device can transmit 100...
OS(Operating Systems) [3] (a) Define DMA (Direct Memory Access).       (b) An input device can transmit 100 characters every 4 mils 10 , if the CPU needs 2 mics to service the             Interrupt. How much time is left for asynchronous I/O. What if it can transmit 1000 characters             every 4 mils and the CPU also needs 2 mics for the service routine.             What do you think? Explain your answer in details. [4]  (a) What is the interrupt types? Give examples.                 (b)...
How do directories access eachother in a direct accessed allocation file system (i. E where I...
How do directories access eachother in a direct accessed allocation file system (i. E where I nodes access data blocks directly). So if the directory test wanted to access the directory Foo, what steps would have to be taken using blocks and writing to disk?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT