How to calculate sequential time and random i/o time?

how to calculate sequential time and random i/o time for eg 

rotation sped = 7200rpm

seek time = 4ms,data store per track = 153.6kb 

size of file A = 200kb

no.of sector per track = 300

in this ques we have to find average acces time to read file A under sequential and random i/o configration

 

1Comment
shivani @shivani1234
26 Sep 2017 01:45 pm

Since file size= 200kb and track capacity = 153.6kb ,
so, no. of tracks needed =ceil(200/153.6) = 2
Tseek= 4ms (given)

Trot=1/2*(60/7200) =4.16ms
In case of sequential i/o configuration we don't need seek time 
So, tseq = 2 *Trot =2*4.16= 8.32ms
In case of random i/o configuration we need both seek time and rotational time 
Trand = 2*(tseek + trot)= 2(4+4.16) = 16.32ms