Computer Science EngineeringVery hardISRO SC
A disk has cylinders 0 to 199. The head is at 67; pending requests are 190, 105, 55, 77, 78, 87, 71. Moving toward higher cylinders first, the SCAN (elevator) algorithm's total head movement is
- A. 276
- B. 258
- C. 223
- D. 262
Correct answer: A. 276
SCAN runs to the disk end (0 or 199) before reversing, then goes to the farthest request on the other side. Total = 276.
Practise more OS, DBMS, Networks & Computer Architecture (ISRO CS) questionsOS, DBMS, Networks & Computer Architecture (ISRO CS): notes and key points
More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions
- Processes (arrival, burst in ms): P1(0, 8), P2(4, 3), P3(2, 4), P4(1, 7). Under preemptive SJF (SRTF), the average waiting time in ms is
- Processes (arrival, burst in ms): P1(0, 3), P2(3, 7), P3(1, 6), P4(2, 5). Under preemptive SJF (SRTF), the average waiting time in ms is
- Four processes arrive together with CPU bursts 5, 8, 14, 9 ms in the order P1..P4. With round robin, time quantum 4 ms, the average…
- A single-level page table is used. TLB lookup takes 5 ns, memory access 120 ns, and the TLB hit ratio is 95%. The effective memory access…
- In a demand-paged system the memory access time is 200 ns and a page fault takes 8 ms to service. To keep the effective access time within…
- In a demand-paged system the memory access time is 120 ns and a page fault takes 12 ms to service. To keep the effective access time…