GateAI
Cache Memory and Hierarchy

GATE CSE 2024 Set 1 · Q54

NAT2 marksEasy

Time

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 ______

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 4096

Cache Memory and Hierarchy

The capacity of a hard disk is given by:

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:

  • Total capacity =512 GB=512×230 bytes=239 bytes= 512\text{ GB} = 512 \times 2^{30}\text{ bytes} = 2^{39}\text{ bytes}

  • Number of surfaces =32=25= 32 = 2^5

  • Sectors per track =4096=212= 4096 = 2^{12}

  • Bytes per sector =1024 bytes=210 bytes= 1024\text{ bytes} = 2^{10}\text{ bytes}

Let CC be the number of cylinders:

239=C×25×212×2102^{39} = C \times 2^5 \times 2^{12} \times 2^{10}
239=C×2272^{39} = C \times 2^{27}
C=239227=212=4096C = \frac{2^{39}}{2^{27}} = 2^{12} = 4096

Thus, the number of cylinders in the hard disk is 4096.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Cache Memory and Hierarchy previous year question is Q54 of the GATE CSE 2024 Set 1 paper. Find more GATE CSE PYQs on Cache Memory and Hierarchy in Computer Organization and Architecture, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Cache Memory and Hierarchy PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Cache Memory and Hierarchy in GATE CSE

Cache Memory and Hierarchy has 47 GATE CSE PYQs across 23 papers from 2011 to 2026. 16 of them are 2-mark NAT questions like this one, and GATE CSE 2024 Set 1 has 4.

How GATE tests Cache Memory and Hierarchy

More from GATE CSE 2024 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2024 Set 1 · Q54 · NAT

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 …

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.