Consider a disk system with 100 cylinders. The requests to access the cylinders occur in the following sequence : 4, 34, 10, 7, 19, 73, 2, 15, 6, 20 Assuming that the head is currently at cylinder 50 , what is the time taken to satisfy all requests 1 ms if it takes to move from the cylinder to adjacent one and the shortest seek time first policy is used?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. 119 ms
Explanation
From 50: 34, 20, 19, 15, 10, 7, 6, 4, 2, then 73: 16 + 14 + 1 + 4 + 5 + 3 + 1 + 2 + 2 + 71 = 119 cylinders × 1 ms.
More System Software and Operating System questions
- Match List I with List II. List I: (a) Disk, (b) CPU, (c) Memory, (d) Interrupt. List II: (i) Thread, (ii) Signal, (iii) File system, (iv)…
- Which of the following are NOT shared by the threads of the same process? (a) Stack (b) Registers (c) Address space (d) Message queue
- Consider that a process has been allocated 3 frames and has a sequence of page referencing 1, 2, 1, 3, 7, 4, 5, 6, 3, 1 as . What shall be…
- Consider three CPU intensive processes, which require 10,20 and 30 units of time and arrive at times 0,2 and 6 respectively. How many conte…
- At a particular time of computation, the value of a counting semaphore is 7. Then 20 P (wait) operations and 15 V (signal) operations are c…
- The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by