Expected disk seek, rotation and transfer time
Secondary Storage

Answer & solution
Official answer: 77.3
Givens and goal
A disk rotates at 15000 rpm, has 400 sectors per track and 1024 bytes per sector, and takes 1 ms per adjacent-track move. Starting at track 0, read ten randomly located sectors on each of tracks 5,12,7 in that order. Find the total time to one decimal place, under the published key’s expected-latency convention.
Approach
Calculate seek time, expected rotational waiting, and actual sector transfer time separately, then add them without double counting.
Step-by-step solution
1. Convert rotation speed to period. A minute is 60000 ms, so one revolution takes 60000/15000=4 ms.
2. The required track movements are |5−0|=5, |12−5|=7 and |7−12|=5. At 1 ms per adjacent move, total seek time is (5+7+5)·1=17 ms. There is no additional seek between sectors on the same track.
3. Under independent uniform rotational positions for successive accesses, average wait to the requested sector is half a revolution, 4/2=2 ms. There are 3·10=30 sector accesses, so the expected rotational wait is 30·2=60 ms.
4. One sector occupies 1/400 of a revolution and takes 4/400=0.01 ms to transfer. Thirty sectors take 0.30 ms. Equivalently, the transfer rate is (400·1024)/4=102400 bytes/ms and the total data is 30·1024=30720 bytes, giving the same 0.30 ms.
5. Add the components: 17+60+0.30=77.30 ms. Rounded to one decimal, the official result is 77.3 ms.
CS-2026-S1-Q59-EXPECTED. This is an expected time under the independent random-angle access model, not an exact elapsed duration fixed by unspecified sector locations. Reordering reads by rotational position or batching nearby sectors would require a different model. The source says “total time” without explicitly saying expected, so the published interval 77.3 to 77.3 is preserved with this qualification.


