73.6k views
0 votes
Assume we have a mechanical hard drive with the following characteristics:

Number of surfaces - 2 (this is a double-sided disk, a single read/write arm holds both read write heads)
Number of tracks per surface - 500
Number of sectors per track - 20
Number of bytes per sector - 1024

In general, information is stored on a disk not at random but in specific locations that help to minimize the time it takes to retrieve that information. Using the specifications above, where would you store the information in a 50 KB file on the disk to speed up subsequent access to that information.

User Biggates
by
8.3k points

1 Answer

6 votes

Step-by-step explanation:

Given:

Surface = 2

Track per surface = 500

Sector per track = 20

Bytes per sector = 1024

We have to store 50 kb file then, required the numbers of sector:


(50* 1024)/(1024)=50

Then, we have the number of sectors in 1:
500 * 20=1000


\therefore The\,\, surface\,\, number:\\ \:\:50 / 1000

Then, the remainder = 50 i.e., sector number

Then, the quotient = 0 i.e., surface number


\therefore \,the \,\,sector \,\,number:\\ \:\:50 / 20

Then, the remainder = 10 i.e., sector number

Then, the quotient = 2 i.e., track number number


Finally, \, files\,\, is \, stores\, at \,the \,<0,2,10> locations

User Juan Camilo Mejia
by
7.9k points