CS FundamentalsHardGATE CS (PYQ pattern)
Which of the following statements about disk scheduling are correct? I. SSTF can starve requests far from the head. II. SCAN bounds the waiting time of any request, since the head sweeps the whole disk periodically. III. C-SCAN gives more uniform waiting times across cylinders than SCAN. IV. FCFS minimises total seek time because it never reorders requests.
- A. I and IV only
- B. II and III only
- C. I, III and IV only
- D. I, II and III only
Correct answer: D. I, II and III only
IV is false: FCFS ignores head position and typically has the longest total seek. I-III are the standard properties of SSTF, SCAN and C-SCAN.
More Operating Systems questions
- A process maps a region starting at virtual address 0x40000000 whose size is 4 GB + 5 MB + 12 KB. The OS uses 1 GB, 2 MB and 4 KB pages…
- A 32-bit machine has 512 MB of RAM, of which the resident kernel permanently uses 128 MB, and a 1 GB swap partition. The top 1 GB of every…
- On a single-CPU system processes arrive at 3 per second in steady state, on average 6 processes sit in the ready queue (not counting the…
- Stride scheduling with stride = 6000 / tickets: A has 100 tickets, B 200 and C 300. All passes start at 0; each quantum the process with…
- A CFS-like scheduler picks the runnable task with the smallest virtual runtime and runs it for a 4 ms slice, then adds 4 x 1024 / weight…
- Three tasks share two resources under the priority ceiling protocol (priorities t1 > t2 > t3). t3 has a 4 ms critical section on R1 and a…