GATE / CS ARCHIVE

GATE CSE 2024 SET 1 / QUESTION 54

Convert disk capacity into cylinders

Computer Organization & Architecture · Secondary Storage · Full GATE CSE 2024 Set 1 paper

GATE 2024 Set 1, Q54 2 marks · NAT
Not in GATE 2027 syllabusReport issue

Secondary Storage

Question 54, GATE 2024: A hard disk has capacity 512 GB, 32 storage surfaces, 4,096 sectors per track and 1,024 bytes per sector. How many cylinders does it contain? Use the binary capacity convention underlying the official answer.
Tap to enlarge
Answer & solution

Official answer: 4096

Approach: A cylinder is the collection of tracks at one radial position across all storage surfaces. Compute bytes per cylinder before dividing total capacity.
1. One track contains 4,096×1,024=2¹²×2¹⁰=2²² bytes.
2. A cylinder contains one track on each of 32=2⁵ surfaces, so its capacity is 2⁵×2²²=2²⁷ bytes. The stated surface count is already the number of recording surfaces; it must not be doubled again.
3. Under the question's intended binary convention, 512 GB=512×2³⁰=2³⁹ bytes.
4. Number of cylinders = total bytes / bytes per cylinder = 2³⁹/2²⁷=2¹²=4,096.
Answer: 4096. Strict decimal GB would mean 512×10⁹ bytes and would produce approximately 3814.697 cylinders, not the key's integer. The binary convention is therefore made explicit rather than silently treating the two unit definitions as identical.

Original paper, page 33 · Answer key