224k views
4 votes
Run the C-LOOK algorithm (requests can only be serviced when the head is moving toward higher numbered tracks); the head is currently at location 50, heading toward 0. Give the order in which the following requests will be serviced and compute the total distance that the disk head must travel to service all the requests (the highest location allowed for the head is 100): 12, 20, 22, 30, 44, 55, 61, 65, 68, 70, 71, 72, 80, 93.

User RJ Lohan
by
5.9k points

1 Answer

5 votes

Answer:

Check the explanation

Step-by-step explanation:

Kindly check the attached image below to get the diagram which would be used to explain the question above.

Run the C-LOOK algorithm (requests can only be serviced when the head is moving toward-example-1
User Choover
by
6.6k points