GATE / CS ARCHIVE

SUBJECT COLLECTION

Computer Organization & Architecture · Secondary Storage

15 questions, newest first

GATE CSE has asked 15 questions on Secondary Storage (Computer Organization & Architecture) from 1993 to 2026, in 13 of the 46 papers; the most recent is in GATE CSE 2026 Set 1. In the last five years it carried 0.8 marks per 100-mark paper on average, against 0.4 since 2003. Since 2014 the questions have been 5 NAT. 3 groups of questions here are solved the same way; “One per method” keeps the newest of each.

Not in the GATE 2027 syllabus. The memory-hierarchy line names cache and main memory only. I/O scheduling and file systems remain under Operating Systems.

Browse topics
2 marks · NAT
Not in GATE 2027 syllabusReport issue

Expected disk seek, rotation and transfer time

Secondary Storage

Question 59, GATE 2026: A disk rotates at 15000 rpm, has 400 sectors per track and 1024 bytes per sector, and takes 1 ms per adjacent-track move. Starting at track 0, read ten randomly located sectors on each of tracks 5,12,7 in that order. Find the total time to one decimal place, under the published key’s expected-latency convention.
Tap to enlarge
Answer & solution

Official answer: 77.3

Givens and goal

A disk rotates at 15000 rpm, has 400 sectors per track and 1024 bytes per sector, and takes 1 ms per adjacent-track move. Starting at track 0, read ten randomly located sectors on each of tracks 5,12,7 in that order. Find the total time to one decimal place, under the published key’s expected-latency convention.

Approach

Calculate seek time, expected rotational waiting, and actual sector transfer time separately, then add them without double counting.

Step-by-step solution

1. Convert rotation speed to period. A minute is 60000 ms, so one revolution takes 60000/15000=4 ms.
2. The required track movements are |5−0|=5, |12−5|=7 and |7−12|=5. At 1 ms per adjacent move, total seek time is (5+7+5)·1=17 ms. There is no additional seek between sectors on the same track.
3. Under independent uniform rotational positions for successive accesses, average wait to the requested sector is half a revolution, 4/2=2 ms. There are 3·10=30 sector accesses, so the expected rotational wait is 30·2=60 ms.
4. One sector occupies 1/400 of a revolution and takes 4/400=0.01 ms to transfer. Thirty sectors take 0.30 ms. Equivalently, the transfer rate is (400·1024)/4=102400 bytes/ms and the total data is 30·1024=30720 bytes, giving the same 0.30 ms.
5. Add the components: 17+60+0.30=77.30 ms. Rounded to one decimal, the official result is 77.3 ms.

CS-2026-S1-Q59-EXPECTED. This is an expected time under the independent random-angle access model, not an exact elapsed duration fixed by unspecified sector locations. Reordering reads by rotational position or batching nearby sectors would require a different model. The source says “total time” without explicitly saying expected, so the published interval 77.3 to 77.3 is preserved with this qualification.

Original paper, page 44 · Answer key

2 marks · NAT
Not in GATE 2027 syllabusReport issue

Convert disk capacity into cylinders

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

2 marks · NAT
Not in GATE 2027 syllabusReport issue

Average time for randomly located disk sectors

Secondary Storage

Question 53, GATE 2024: A disk rotates at 6000 RPM, has average seek time 5 ms, 500 sectors/track, and 512 bytes/sector. A file occupies 3000 randomly located sectors. Using average rotational latency, estimate total read time in seconds to two decimals.
Tap to enlarge
Answer & solution

Official answer: 29.50 to 30.50

Our answer: 30.06

Approach: For each random sector add average seek, half a revolution, and one-sector transfer time.

1. Derivation. At6000RPM one revolution takes 60/6000=0.01s=10ms. Mean rotational latency is 5ms; one of 500 sectors transfers in 10/500=0.02ms. Using a separate average seek and rotational wait for each randomly placed sector gives 3000×(5+5+0.02)ms=30060ms=30.06s. This is an average random-read estimate, not a guaranteed realized time; cache, scheduling and correlated sector positions are not modeled.

2. Explanation and checks. At 100 revolutions/s the entire track passes in 0.01 seconds. A sector is 1/500 of that track, so its transfer time is 0.00002 seconds. The sector byte count cancels if transfer speed is computed as 500×512 bytes per revolution and divided into a 512-byte request. Because locations are random, the intended model charges seek and rotation for every sector rather than only once for a contiguous file. The derived 30.06 lies inside the preserved official acceptance range 29.50–30.50.

Original paper, page 37 · Answer key

2 marks · NAT
Not in GATE 2027 syllabusReport issue

Secondary Storage

Question 54, GATE 2015: Disk seek=4 ms, rotation=10000 RPM, 600 sectors/track, 512 bytes/sector. File has 2000 sectors. Every sector access needs a seek and average half-rotation latency. Find total read time in ms.
Tap to enlarge
Answer & solution

Official answer: 14020

Convert RPM carefully: 10000 revolutions take 60000 ms, so each revolution lasts 6 ms. Half is 3 ms; one of 600 sectors occupies 6/600=0.01 ms of rotation. The stipulated independent per-sector cost is 4+3+0.01=7.01 ms, so the file costs 14020 ms. Assuming sequential sectors share one seek would ignore the explicit premise; 512-byte size is unnecessary once sectors per rotation is known.

Solution: A rotation takes 60000/10000=6ms, so average rotational latency is 3ms. One sector transfer takes 6/600=0.01ms. With a fresh 4ms seek for every sector as stipulated, 2000 sectors take 2000*(4+3+0.01)=14020ms.

Original paper, page 20 · Answer key

2 marks · NAT
Not in GATE 2027 syllabusReport issue

Secondary Storage

Question 42, GATE 2015: Disk 15000 RPM, transfer 50×10^6 bytes/s. Average seek is twice average rotational delay; controller transfer time is 10 times disk transfer time. Find total average read/write time for 512 bytes in ms.
Tap to enlarge
Answer & solution

Official answer: 6.1 to 6.2

Our answer: 6.11264

A revolution takes 60000/15000=4 ms, hence average rotational delay 2 ms and seek 4 ms. Disk transfer is 512/(50·106)s=0.01024 ms. Controller transfer adds ten times that, 0.1024 ms. Total 4+2+0.01024+0.1024=6.11264 ms, within 6.1 to 6.2.

One revolution takes 60/15000=.004 seconds=4 ms. A uniformly random angular position gives mean rotational waiting of half a revolution, 2 ms, and the stated seek is 4 ms. Transferring 512 bytes at 50 million bytes/s takes.01024 ms; controller work adds.1024 ms. Sum 4+2+.01024+.1024=6.11264 ms. Keep units consistent: confusing seconds with milliseconds or using a full revolution instead of an average half revolution changes the result drastically.

Original paper, page 40 · Answer key

2 marks · MCQ
Not in GATE 2027 syllabusReport issue

Last cylinder of a contiguous disk file

Secondary Storage

Question 29, GATE 2013: A disk has 16 surfaces, 16384 cylinders, 512 bytes/sector and the source says 64 sectors per cylinder. A contiguous 42797 KB file begins at<cylinder 1200, surface 9, sector 40>. Find last cylinder: A1281, B1282, C1283, D1284. The answer model interprets64 sectors per surface-track and KB=1024 bytes.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Our answer: D under 64 sectors per track and binary KB

Using the intended geometry, each cylinder has 16×64=1024 sectors and each 512-byte sector is half a KiB. The file occupies 42797×2=85594 sectors. Its starting within-cylinder offset is 9×64+40=616. The last sector is therefore at cylinder 1200+floor((616+85594−1)/1024)=1284, D. The source literally says each cylinder contains 64 sectors, but also supplies a surface coordinate and uses the geometry above in the key. The calculation needs 64 sectors per surface-track, rather than per entire cylinder, and KB=1024 bytes; these are explicit intended interpretations.

Under the intended track geometry, one cylinder contains 16×64=1024 sectors, hence 512 KiB. Convert the file to sectors:42797 KiB×1024/512=85594. The starting surface/sector is offset 9×64+40=616 within cylinder 1200. Numbering the first file sector as offset 0 makes its last sector offset 85593, so the combined last offset is 86209. Divide by 1024:84 full cylinders and remainder 193. Add84 to 1200 to obtain 1284. Subtracting1 before the division prevents an off-by-one error for a file ending on a cylinder boundary.

Original paper, page 6 · Answer key

2 marks · MCQ
Not in GATE 2027 syllabusReport issue

Nonlinear disk seek time

Secondary Storage

Question 32, GATE 2008: Why is seek latency not proportional to seek distance on a magnetic disk with concentric circular tracks?

(A) Nonuniform request distribution
(B) Arm starting and stopping inertia
(C) Higher capacity of tracks at platter periphery
(D) Unfair arm-scheduling policies
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

1. A seek consists of accelerating the arm, moving it and decelerating it to settle accurately at the target track.
2. A short seek may spend most of its time accelerating and braking; a longer seek has a different velocity profile. The average speed is therefore not constant across distances.
3. This is arm starting/stopping inertia, B. Request frequencies and track capacities do not explain the mechanical distance-time relation.

Original paper, page 6

1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Disk capacity and sector address bits

Secondary Storage

Question 11, GATE 2007: A disk pack has 16 surfaces, 128 tracks per surface, 256 sectors per track and 512 bytes per sector, stored bit-serially. What are its capacity and the number of bits needed to address a sector?
Options:
(A) 256 Mbyte,19 bits
(B) 256 Mbyte,28 bits
(C) 512 Mbyte,20 bits
(D) 64 Gbyte,28 bits
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Approach. Multiply surfaces, tracks and sectors for the number of addressable sectors. Multiply once more by bytes per sector for capacity; these two quantities require different address widths.

2. Derivation and interpretation. The number of sectors is 16×128×256=219. At 512=29 bytes each, capacity is 228 bytes=256 MiB. A sector address therefore needs 19 bits. Thus A, using the usual binary Mbyte convention; no byte/bit offset is needed when selecting a sector.

Original paper, page 3

Descriptive
Not in GATE 2027 syllabusReport issue

Disk capacity

Secondary Storage

Question 8(a), GATE 2001: Disk: 20 surfaces, 1000 tracks/surface, 16 sectors/track, 1 KB/sector, 3000 rpm; transfer one byte at a time. For CPU calculations memory transfer costs 0.1 μs/byte, interrupt overhead 0.4 μs/byte, DMA setup negligible and requests always granted. Use 1 KB=1024 bytes.

Task: Find the total capacity of the disk.
Question 8(a), GATE 2001: Disk: 20 surfaces, 1000 tracks/surface, 16 sectors/track, 1 KB/sector, 3000 rpm; transfer one byte at a time. For CPU calculations memory transfer costs 0.1 μs/byte, interrupt overhead 0.4 μs/byte, DMA setup negligible and requests always granted. Use 1 KB=1024 bytes.

Task: Find the total capacity of the disk.
Tap to enlarge
Shared context

Disk: 20 surfaces, 1000 tracks/surface, 16 sectors/track, 1 KB/sector, 3000 rpm; transfer one byte at a time. For CPU calculations memory transfer costs 0.1 μs/byte, interrupt overhead 0.4 μs/byte, DMA setup negligible and requests always granted. Use 1 KB=1024 bytes.

Answer & solution

Answer: 320,000 KB = 327,680,000 bytes = 312.5 MiB. (no official key was published)

1. Count all sectors: 20 surfaces × 1000 tracks per surface × 16 sectors per track = 320,000 sectors. The units cancel to sectors, so rotation speed is irrelevant to capacity.

2. Each sector stores 1 KB=1024 bytes. Total capacity is 320,000×1024=327,680,000 bytes.

3. Dividing by 1024² yields 312.5 MiB, often written 312.5 MB under the historical binary convention. Under modern decimal units it is 327.68 MB.

4. The result uses the stated formatted sector payload and does not add hypothetical gaps or disk-controller overhead absent from the problem.

Original paper, page 8

Descriptive
Not in GATE 2027 syllabusReport issue

Disk streaming transfer rate

Secondary Storage

Question 8(b), GATE 2001: Disk: 20 surfaces, 1000 tracks/surface, 16 sectors/track, 1 KB/sector, 3000 rpm; transfer one byte at a time. For CPU calculations memory transfer costs 0.1 μs/byte, interrupt overhead 0.4 μs/byte, DMA setup negligible and requests always granted. Use 1 KB=1024 bytes.

Task: Find the data transfer rate.
Question 8(b), GATE 2001: Disk: 20 surfaces, 1000 tracks/surface, 16 sectors/track, 1 KB/sector, 3000 rpm; transfer one byte at a time. For CPU calculations memory transfer costs 0.1 μs/byte, interrupt overhead 0.4 μs/byte, DMA setup negligible and requests always granted. Use 1 KB=1024 bytes.

Task: Find the data transfer rate.
Tap to enlarge
Shared context

Disk: 20 surfaces, 1000 tracks/surface, 16 sectors/track, 1 KB/sector, 3000 rpm; transfer one byte at a time. For CPU calculations memory transfer costs 0.1 μs/byte, interrupt overhead 0.4 μs/byte, DMA setup negligible and requests always granted. Use 1 KB=1024 bytes.

Answer & solution

Answer: 819,200 bytes/s = 800 KiB/s. (no official key was published)

1. Convert rotational speed: 3000 revolutions/minute ÷60 =50 revolutions/second. One revolution therefore lasts 0.02 seconds.

2. A selected track contains 16 sectors ×1024 bytes =16,384 bytes per revolution. Streaming transfer rate is 16,384×50=819,200 bytes/second, or 800 KiB/second.

3. Do not multiply by 20 surfaces: the described single serial transfer channel reads the selected track, not every surface simultaneously.

4. The byte interval is 1/819,200 seconds≈1.220703 μs. This is the sustained transfer rate once positioned, not an average including unspecified seek and rotational waiting times.

Original paper, page 8

2 marks · MSQ
Not in GATE 2027 syllabusReport issue

Purposes of RAID

Secondary Storage

Question 2.18, GATE 1999: RAID configurations provide fault tolerance,high speed,high data density,or none. Select applicable goals.
Tap to enlarge
Select all that apply
Answer & solution

Answer: A,B (no official key was published)

Mirroring or parity can preserve recoverability after a disk failure, providing fault tolerance. Striping distributes transfers across disks and can increase throughput, providing high speed. These are system-level properties, not an increase in the physical bit density of an individual disk, so C is not a RAID benefit. The applicable goals are A,B. Different RAID levels trade these goals differently: RAID0 emphasizes striping without redundancy, while mirrored/parity levels supply failure protection; the answer does not claim every level supplies both equally.

Original paper, page 5

2 marks · MCQ
Not in GATE 2027 syllabusReport issue

Low-level floppy formatting

Secondary Storage

Question 2.9, GATE 1998: Does floppy formatting arrange user data contiguously, write only a directory, erase the system area, or write track/sector identification?
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

Low-level formatting establishes the physical organization used to locate sectors, including identification and control information on tracks and sectors. This is D. Writing a file-system directory is a higher-level formatting step, and arranging existing files contiguously is closer to allocation or defragmentation. Erasing only a system area does not establish a usable sector layout. The question uses the older physical-floppy meaning; modern operating-system “format” commands often refer to file-system initialization instead.

Original paper, page 4

Descriptive
Not in GATE 2027 syllabusReport issue

Calculate disk unformatted capacity

Secondary Storage

Question 14(a), GATE 1995: A disk has 8 surfaces, outer diameter 12cm, inner diameter 4cm, track spacing 0.1mm, 20 sectors per track, and 96 bytes formatting overhead per 4000-byte data sector. Find unformatted capacity.
Question 14(a), GATE 1995: A disk has 8 surfaces, outer diameter 12cm, inner diameter 4cm, track spacing 0.1mm, 20 sectors per track, and 96 bytes formatting overhead per 4000-byte data sector. Find unformatted capacity.
Tap to enlarge
Answer & solution

Answer: 262,144,000 bytes under the standard 400-tracks-per-surface model. (no official key was published)

Tracks occupy an annulus, so use the radial width, not the difference of diameters. The usable width is (12−4)/2=4cm=40mm. At a track pitch of 0.1mm, the standard capacity model gives 40/0.1=400 tracks per surface. Eight surfaces therefore have 3200 tracks, and with 20 sectors per track there are 64,000 sectors.

Each physical sector accounts for 4000 payload bytes plus 96 overhead bytes, or 4096 unformatted bytes. Multiplying gives 64,000×4096=262,144,000 bytes. This equals 250 MiB or 262.144 decimal MB. The formatted payload capacity is instead 64,000×4000=256,000,000 bytes, a useful cross-check; the difference 6,144,000 is exactly 96×64,000.

This conventional calculation treats the annular width as 400 track pitches. Counting both boundary centerlines as tracks would require a different geometrical endpoint convention not supplied by the question. It also assumes all surfaces are usable and every track has the stated 20 sectors.

Original paper, page 7

Descriptive
Not in GATE 2027 syllabusReport issue

Calculate effective disk transfer rate

Secondary Storage

Question 14(b), GATE 1995: For the disk in 14(a), each track has 20 sectors of 4000 payload bytes plus 96 overhead bytes each. Find bytes transferred per second between disk and memory at 3600 rpm (GFG), or 360 rpm (GateForum).
Question 14(b), GATE 1995: For the disk in 14(a), each track has 20 sectors of 4000 payload bytes plus 96 overhead bytes each. Find bytes transferred per second between disk and memory at 3600 rpm (GFG), or 360 rpm (GateForum).
Question 14(b), GATE 1995: For the disk in 14(a), each track has 20 sectors of 4000 payload bytes plus 96 overhead bytes each. Find bytes transferred per second between disk and memory at 3600 rpm (GFG), or 360 rpm (GateForum).
Tap to enlarge
Answer & solution

Answer: 4,800,000 payload bytes/s at 3600 rpm; 480,000 bytes/s at 360 rpm. (no official key was published)

Effective transfer rate counts payload delivered to memory, not sector formatting bytes. A complete revolution passes 20×4000=80,000 payload bytes under the active head. At 3600 revolutions per minute, the rotational rate is 3600/60=60 revolutions per second. Thus the sustained payload rate is 80,000×60=4,800,000 bytes/s, or 4.8 decimal MB/s.

Under that literal variant the rotation rate is 6 revolutions per second and the answer is 80,000×6=480,000 bytes/s. This factor-of-ten source discrepancy must not be hidden by treating the two reproductions as identical.

The model assumes a continuous transfer from one active surface, ignores seek and rotational-start latency, and treats formatting overhead as space already occupying part of each revolution. Do not multiply the rate by eight surfaces unless simultaneous transfer from eight heads is explicitly specified. The corresponding raw byte rates including formatting would be 4,915,200 and 491,520 bytes/s, but those are not the requested effective payload rates.

Original paper, page 7

2 marks · Other
Not in GATE 2027 syllabusReport issue

Disk rotational delay and transfer rate

Secondary Storage

Question 6.7, GATE 1993: A one-head disk has 200 tracks,2400 rpm and 62,500 bits per track. Find average rotational latency P in ms and transfer rate Q in bits/s.
Tap to enlarge
Answer & solution

Answer: P=12.5 ms,Q=2,500,000 bits/s (no official key was published)

2400 revolutions per minute is 40 revolutions per second, so one revolution takes 25 ms. A uniformly random angular arrival waits half a revolution on average, or 12.5 ms. Reading one full track per revolution transfers 62,500·40=2,500,000 bits/s. The 200-track count affects total capacity, not the instantaneous per-head track rate or rotational delay. Seek time, controller overhead and inter-track gaps are not included in these idealized quantities.

Original paper, page 5