CS FundamentalsHardDeloitte · IBM campus pattern
A disk has cylinders 0–199 and the head is at cylinder 70, moving towards cylinder 199. Pending requests: 12, 78, 145, 33, 167, 92, 56, 188. What is the total head movement under LOOK, which reverses as soon as there are no more requests ahead of it?
- A. 309
- B. 294
- C. 316
- D. 278
Correct answer: B. 294
LOOK services requests in the direction of travel but reverses immediately after the farthest pending request in that direction, instead of running all the way to the disk's edge: total movement 294 cylinders, versus 316 for full SCAN.
More Operating Systems questions
- A process uses paging with a page size of 1024 bytes (1 KB). Virtual address 136656 (decimal, byte address) maps to page number 133 with…
- A process uses paging with a page size of 2048 bytes (2 KB). Virtual address 83545 (decimal, byte address) maps to page number 40 with…
- A process uses paging with a page size of 4096 bytes (4 KB). Virtual address 269026 (decimal, byte address) maps to page number 65 with…
- A process uses paging with a page size of 1024 bytes (1 KB). Virtual address 79723 (decimal, byte address) maps to page number 77 with…
- A process uses paging with a page size of 2048 bytes (2 KB). Virtual address 210932 (decimal, byte address) maps to page number 102 with…
- A process uses paging with a page size of 4096 bytes (4 KB). Virtual address 153725 (decimal, byte address) maps to page number 37 with…