• retagged by
17,129 views
28 28 votes
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 _________.

6 Answers

35 35 votes

Given that:

  • Hard disk capacity= $512$GB=$2^9*2^{30}=2^{39}$ Byte
  • Number of surface=$32=2^5$
  • Sector/track=$4096=2^{12}$
  • sector size/capacity=$1024=2^{10}$ Byte
  • Number of cylinder =$x$

 we know that:

Disk capacity=Number of surface* number of track/surface* number of sector/track*number of byte/sector

$\implies2^{39}=2^5*x*2^{12}*2^{10}$
$\implies2^{39}=x*2^{12+10+5}$
$\implies2^{39}=x*2^{27}$
$\implies x=\frac{2^{39}}{2^{27}}=2^{12}=4096$

$\therefore$ the number of cylinders is $4096.$

11 11 votes
We have -

capacity = #surfaces x #cylinders x #sectors x #capacity_of_sector

Putting all the values, we get -

$2^{39} = 2^5 * \text{ #cylinders } * 2^{12} * 2^{10}$

$\text{#cylinders} = 2^{39-27} = 2^{12} = 4096$

Answer - 4096
0 0 votes
There are 32 storage surfaces meaning 16 plates with both sides capable of storing data. Now capacity of one plate is 512GB/32 = 16GB.

Now Cylinder is formed using tracks on a plate and there are sectors in each track and each sector stores data. So

Plate size = Total tracks * number of sectors per track * size of sector

16GB = Total tracks * 4096 * 1024

Total tracks or total cylinders = 4096 :)
0 0 votes

Disk capacity = 512 GB

1 GB = 230 B

512 GB = 239 B

Sector size = 1024 B = 210 B

Total number of sectors

= 239 / 210

= 229 sectors

Given:

Number of sectors per track = 212

Number of surfaces = 25

Sector number calculation:

212 ) 229   ( 217 

      - 229

      --------

          0

Sector number = 0

Cylinder and surface calculation:

  25 ) 217 ( 212

       - 212

        -------

          0

Surface number = 0

Cylinder number = 212=4096

0 0 votes

To simplify the calculation, we can express all the given parameters as powers of 2:

Total Capacity = $512 \text{ GB} = 512 \times 2^{30} \text{ bytes} = 2^9 \times 2^{30} \text{ bytes} = 2^{39} \text{ bytes}$

Storage Surfaces = $32 = 2^5$

Sectors per Track = $4096 = 2^{12}$

Bytes per Sector = $1024 = 2^{10} \text{ bytes}$

We can set up the mathematical equation using $C$ to represent the unknown number of cylinders in the hard disk:

$$\text{Total Capacity} = C \times \text{Surfaces} \times \text{Sectors per track} \times \text{Bytes per sector}$$

Substituting the powers of 2 values into this relationship gives:

$$2^{39} = C \times 2^5 \times 2^{12} \times 2^{10}$$

Combining the exponents on the right side simplifies the equation:

$$2^{39} = C \times 2^{27}$$

Solving for $C$ by dividing both sides isolates the cylinder parameter:

$$C = \frac{2^{39}}{2^{27}} = 2^{39 - 27} = 2^{12}$$

Converting the result back from a power of 2 :

$$C = 4096$$

Answer:
Position:
Show:

Related questions

87 87 votes
14 answers 14 answers
40.0k
40.0k views
Arjun asked Feb 16, 2024
39,962 views
Consider the following code snippet using the fork () and wait () system calls. Assume that the code compiles and runs correctly, and that the system calls run successful...
54 54 votes
10 10 answers
28.7k
28.7k views
Arjun asked Feb 16, 2024
28,662 views
Consider a memory management system that uses a page size of $2 \mathrm{~KB}$. Assume that both the physical and virtual addresses start from $0$. Assume that the pages $...
29 29 votes
5 5 answers
18.3k
18.3k views
Arjun asked Feb 16, 2024
18,347 views
​​​Consider the following two threads $\mathrm{T} 1$ and $\mathrm{T} 2$ that update two shared variables $\mathrm{a}$ and $\mathrm{b}$. Assume that initially $\mathrm{a}=...
56 56 votes
13 13 answers
22.4k
22.4k views
Arjun asked Feb 16, 2024
22,353 views
The baseline execution time of a program on a $2 \mathrm{GHz}$ single core machine is $100$ nanoseconds ( $n s)$. The code corresponding to $90 \%$ of the execution time ...