Open In App

GATE | GATE-CS-2009 | Question 52

Like Article
Like
Save
Share
Report

Consider the data given in previous question. The address of the 1039th sector is
(A) (0, 15, 31)
(B) (0, 16, 30)
(C) (0, 16, 31)
(D) (0, 17, 31)


Answer: (C)

Explanation:  

You can also see the  image uploaded in previous question.

(a)

<0,15,31> 0th cylinder 15th surface and 31st sector
So, 0 cylinders passed 0*20*63
As each cylinder has 20 surfaces and each surface has 63 sectors. + 15 surfaces passed (0-14) 15*63
As each surface has 63 sectors + We are on 31st sector
So, sector no. =0*20*63+15*63+31=976 sector.
Which is not equal to 1039.

(b)

<0,16,30>
Similarly this represents,
0*20*63 + 16*63 (0-15 sectors and each sector has 63 sectors) + 30 sectors on 16th sector
Sector no = 0*20*63+16*63+30=1038 sector which is not equal to 1039.

(c)

<0,16,31>
Similarly this represents,
0*20*63 + 16*63 (0-15 sectors and each sector has 63 sectors) + 31 sectors on 16th sector
Sector no = 0*20*63+16*63+31=1039 sector which is equal to 1039.

Hence,option c is correct.

(d)

<0,17,31>

Similarly this represents,
0*20*63 + 17*63 (0-16 sectors and each sector has 63 sectors) + 31 sectors on 17th sector
Sector no = 0*20*63+17*63+31=1102 sector which is not equal to 1039.

 

This solution is contributed by Shashank Shanker khare.

Quiz of this Question


Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads