CS FundamentalsHardAmazon · Microsoft MCQ pattern

A disk subsystem uses C-LOOK (like C-SCAN, but it jumps straight to the lowest pending request instead of running all the way to the disk's edge before wrapping). Cylinders 0–199, head at 50 moving up. Requests: 182, 20, 97, 64, 160. What is the total head movement under C-LOOK?

  1. A. 368
  2. B. 232
  3. C. 149
  4. D. 294

Correct answer: D. 294

Upward: 50→64→97→160→182 = 14+33+63+22 = 132. C-LOOK then jumps directly from 182 to the lowest pending request, 20 (no detour to cylinder 0 or 199, unlike C-SCAN): that jump costs |182−20| = 162. Total = 132 + 162 = 294. Plain C-SCAN on the same data instead costs 368, since it must actually reach the disk's edges.

More Operating Systems questions

Exams that ask this topic