A disk has 300 cylinders ( 0 to 299 ). If the initial position of the read-write head is at cylinder 101 , moving towards the higher end of the disk, calculate the total head movement following C_LOOK policy for the read request sequence: 123, 45, 197, 87, 250, 198, 280
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. 456
Explanation
Moving up from 101: 123, 197, 198, 250, 280 (179 cylinders). Jump back to 45 (235), then 87 (42). Total = 456.
More System Software and Operating System questions
- Given below are the two statements: Statement I: The main objective for using virtual memory is to increase the effective capacity of the m…
- For processes P1 (burst 8), P2 (15), P3 (10) and P4 (7), arriving in that order and scheduled FCFS, what is the average waiting time?
- Which of the statement is not true in regards to virtual memory?
- In the design protocol of the critical section problem, each process must ask permission to enter the critical section in _______ code; it…
- Match List I with List II
- An OS follows round-robin scheduling with time quantum of 4 ms. Assuming that the CPU is free now and there are 20 processes waiting in the…