GATE CS 2024 Set 1 — Question 54

NAT+2 / -0MediumDisk Structure & Access TimeI/O OrganizationComputer Organization & Architecture

Computer Organization & Architecture → I/O Organization → Disk Structure & Access Time

Last updated

Question

Consider a 512 GB hard disk with 32 storage surfaces. There are 4096 sectors per track and each sector holds 1024 bytes of data. The number of cylinders in the hard disk is _________

Correct answer

4096 to 4096

Solution

To find the number of cylinders, we use the standard disk geometry formula:Total Capacity=Number of Cylinders×Number of Surfaces×Sectors per Track×Bytes per Sector\text{Total Capacity} = \text{Number of Cylinders} \times \text{Number of Surfaces} \times \text{Sectors per Track} \times \text{Bytes per Sector}Given values:
  • Total Capacity = 512 GB = 512×230512 \times 2^{30} bytes = 29×230=2392^9 \times 2^{30} = 2^{39} bytes
  • Number of Surfaces = 32 = 252^5
  • Sectors per Track = 4096 = 2122^{12}
  • Bytes per Sector = 1024 = 2102^{10}
Let CC be the number of cylinders. Substituting the values into the formula:239=C×25×212×2102^{39} = C \times 2^5 \times 2^{12} \times 2^{10}239=C×2272^{39} = C \times 2^{27}Solving for CC:C=239227C = \frac{2^{39}}{2^{27}}C=212C = 2^{12}C=4096C = 4096Thus, the number of cylinders in the hard disk is 4096.

More questions on I/O Organization

Practice GATE CS PYQs with adaptive difficulty

Timed practice, skill tracking, and AI explanations — free to start.

Start practicing free