CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
2
You visited us 2 times! Enjoying our articles? Unlock Full Access!
Question

Consider a hard disk with 16 recording surfaces (0-15) having 32768 cylinders and each track contains 128 sectors. Data storage capacity in each sector is 2KB. Data are organized cylinder-wise and the addressing format is < cylinder no., surface no., sector no. >. A file of size 48688 KB is stored in the disk and the last sector of the file is stored at sector with address <8692, 5, 30>. The file is stored in a contiguous manner. What is the address of starting location sector of the file?

Open in App
Solution

option (a)
No. of sector per cylinder = 16 * 128 = 2048Sector no.of last sector (8692 * 2048)+(5*128)+30= 17801886No. of sectors to stores file=48688KB2K=24344First sector no.of file = 17801886 - 24344 + 1 = 17777543cylinder no. of first sector = 17777543/2048 = 8680Surface no. of first sector = (17777543%2048)/128 =7Sector no. of first sector= (17777543%2048) %128 =7address = <8680, 7, 7>

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Asynchronous Parallel Data Transfer
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon