522 views
0 votes
0 votes

Source of question - https://gateoverflow.in/1540/gate2013-29

Consider a hard disk with 16 recording surfaces (0−15) having 16384 cylinders (0−16383) and each cylinder contains 64 sectors (0−63). Data storage capacity in each sector is 512 bytes. Data are organized cylinder-wise and the addressing format is <cylinder no., surface no., sector no.> . A file of size 42797 KB is stored in the disk and the starting disk location of the file is <1200,9,40>. What is the cylinder number of the last sector of the file, if it is stored in a contiguous manner?

 

  1. 1281
  2. 1282
  3. 1283
  4. 1284

====================================================

 

I've seen all the answers answered there, but I'm not getting this question. The only part till I got is the last sector to store the file, but couldn't get the reverse engineering thing given in best answer.

Someone please simplify and explain this question

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
3