GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A disk spins at 6000 rpm and each track holds 256 KB. A 1 MB file is stored on 4 consecutive tracks of the same cylinder-group; a head switch between tracks costs 1 ms and, after each switch, the file's next track starts at the rotational position where the previous one ended (no extra rotational delay). The initial seek is 5 ms. What is the time to read the whole file (ms), assuming average rotational latency before the first track?
- A. 28
- B. 50
- C. 23
- D. 53
Correct answer: D. 53
Rotation takes 10 ms. Seek 5 + latency 5 + four tracks × 10 ms of reading + three head switches × 1 ms = 53 ms. Ignoring switches gives 50.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- Over 1000 memory references, 40 miss in L1 and 20 of those also miss in L2. L1 hit time is 1 cycle, L2 hit time 10 cycles, and memory adds…
- Radix-2 Booth recoding of an 8-bit multiplier performs one add or subtract at each change between adjacent bits (with an implied 0 to the…
- A pipeline with ideal CPI 1 handles branches (frequency 20%, of which 40% are taken) in one of three ways: (a) stall for 3 cycles on every…
- A three-word memory-to-memory instruction ADD @A, B (opcode word, address word A, address word B) computes M[B] ← M[M[A]] + M[B], where @A…
- A quad-core chip gives each core a 32 KB L1 instruction cache, a 32 KB L1 data cache and a 256 KB private L2; all cores share an 8 MB L3…
- Two packed-BCD bytes 0x47 and 0x38 are added with a binary adder. Which correction is needed and what is the correct BCD result?