CS FundamentalsHardWipro · Cognizant pattern
C-SCAN (Circular SCAN) differs from plain SCAN in which way?
- A. It is identical to SCAN but uses a smaller time quantum
- B. It always starts from cylinder 0, unlike SCAN
- C. It is a disk-scheduling method used only for SSDs, not spinning disks
- D. It never reverses direction; instead, on reaching one end it jumps back to the opposite end (without servicing requests on the return jump) and continues in the same direction, giving more uniform wait times
Correct answer: D. It never reverses direction; instead, on reaching one end it jumps back to the opposite end (without servicing requests on the return jump) and continues in the same direction, giving more uniform wait times
C-SCAN treats the disk as circular: it services requests moving one way to the end, then 'teleports' back to the start (this trip counted as seek distance in most formulations) and services requests moving the same direction again, which evens out the waiting-time variance that plain SCAN (which favours cylinders near the middle) exhibits.
More Operating Systems questions
- A disk has cylinders 0 to 199. Head is at cylinder 50, moving towards cylinder 199. Pending requests: 182, 20, 97, 64, 160. Using C-SCAN…
- A disk has cylinders 0 to 199. The head is at cylinder 50 and moving towards cylinder 0. Pending requests: 182, 20, 97, 64, 160. Using…
- Which statement correctly contrasts deadlock avoidance (Banker's algorithm) with deadlock detection-and-recovery?
- A system with 3 CPU cores uses symmetric multiprocessing (SMP), where every core runs the same copy of the OS kernel and can access any…
- A real-time system has two periodic tasks: Task A with period 20 ms and execution time 5 ms, Task B with period 50 ms and execution time…
- Compare Rate Monotonic Scheduling (RMS, static priority by period) and Earliest Deadline First (EDF, dynamic priority by nearest deadline)…