Question

Some request lists might cause the disk scheduler to act the same when the three different...

Some request lists might cause the disk scheduler to act the same when the three different algorithms are run. Create a request list of five track numbers that will cause all three algorithms to visit the same tracks in the same order. Enter those five track numbers here. If shortest seek time first starts with the disk head positioned at either 0 or 99, instead of at 50 (in the middle), which algorithm would it resemble: FCFS or SCAN? Why?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

For any doubt please comment your query.

If you find the answer helpful please give a thumps up!

1.

List of five track numbers that will cause all three algorithms to visit the same tracks in the same order are -

35

25

50

75

95

Below is the diagram how these 5 tracks will be traversed by various algorithms.

All the algorithms traverse in the order 35 -> 25 -> 50 -> 75 -> 95

2.

If shortest seek time first starts with the disk head positioned at either 0 or 99, instead of at 50 (in the middle) then it would resemble SCAN as for example it starts with 0 as the starting point then it will only move in the right direction servicing requests in between till it reaches the end point which is analogous to SCAN.It will only move in one direction because it is the only way to minimise the seek operations

As in SCAN disk scheduling algorithm, head starts from one end of the disk and moves towards the other end, servicing requests in between one by one and reach the other end. Then the direction of the head is reversed and the process continues as head continuously scan back and forth to access the disk.

Add a comment
Know the answer?
Add Answer to:
Some request lists might cause the disk scheduler to act the same when the three different...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • The following sequence of disk access requests have been received by the computer systems. The numbers...

    The following sequence of disk access requests have been received by the computer systems. The numbers are the track numbers. Numbering starts at 0 (the centremost track on the disk). 24, 68, 3, 17, 57, 49, 91, 121 Determine the actual average seek length for this particular series of accesses based on each of the following algorithms. Assume the read head starts at track 48. Find... i. Shortest seek first (move the fewest number of tracks to the next entry)...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT