CS FundamentalsHardGATE CS
The head is at cylinder 50 moving towards higher cylinders, and the queue is 82, 170, 43, 140, 24, 16, 190. What is the total head movement under LOOK scheduling (reverse at the last request in each direction)?
- A. 314
- B. 332
- C. 298
- D. 358
Correct answer: A. 314
Up to 190 is 140 cylinders, then back down to 16 is 174 cylinders: 314 in total.
More Operating Systems questions
- Free partitions in memory order are 100, 500, 200, 300 and 600 KB. Processes of 212, 417, 112 and 426 KB arrive in that order. Which…
- A spinlock is built with an atomic test-and-set instruction. Which property does the plain version of this lock NOT guarantee?
- How many processes (including the original one) exist after this program runs to completion? c fork(); if (fork()) { fork(); }
- A file system uses 4 KB blocks and 4-byte block pointers. An inode has 12 direct pointers, one single-indirect and one double-indirect…
- How many page faults occur under the Optimal replacement policy with 3 frames (initially empty) for the reference string 7, 0, 1, 2, 0, 3…
- A system has 48-bit virtual addresses, 4 KB pages and 8-byte page-table entries. The page table is organised as a multi-level tree in…