Question

Consider a disk with the following specifications: rotation speed of 6000 RPM, average seek time of 5 milliseconds, 500 sectors/track, 512-byte sectors. A file has content stored in 3000 sectors located randomly on the disk. Assuming average rotational latency, the total time (in seconds, rounded off to 2 decimal places) to read the entire file from the disk is _________

Official answer and solution
Accepted answers
29.5 to 30.5
From
Official GATE 2024 answer key

Solution

Compute the seek time, average rotational latency, and sector transfer time for a single random sector, then multiply by 3000 sectors.

  1. Time for one full disk rotation:
    Trot=60 seconds6000 RPM=0.01 s=10 msT_{\text{rot}} = \frac{60\text{ seconds}}{6000\text{ RPM}} = 0.01\text{ s} = 10\text{ ms}
  2. Average rotational latency:
    Tlatency=12Trot=5 msT_{\text{latency}} = \frac{1}{2} T_{\text{rot}} = 5\text{ ms}
  3. Transfer time per sector (500500 sectors per track):
    Ttransfer=10 ms500=0.02 msT_{\text{transfer}} = \frac{10\text{ ms}}{500} = 0.02\text{ ms}
  4. Total time for 3000 randomly located sectors:
    Since each of the 30003000 sectors is located randomly on the disk, reading each sector incurs average seek time (5 ms5\text{ ms}) + average rotational latency (5 ms5\text{ ms}) + sector transfer time (0.02 ms0.02\text{ ms}):
    Ttotal=3000×(5+5+0.02) ms=3000×10.02 ms=30,060 ms=30.06 secondsT_{\text{total}} = 3000 \times (5 + 5 + 0.02)\text{ ms} = 3000 \times 10.02\text{ ms} = 30,060\text{ ms} = 30.06\text{ seconds}
Final answer

30.06

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2024 Computer Science and Information Technology - Set 2 (CS2)
Question
53 of 65
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.