ago
28 views

1 Answer

0 0 votes

 

At every scheduling decision, calculate the distance from the current head position to each pending request.

If the current head is at cylinder $50$ and requests are $:20,\ 47,\ 65,\ 90$

the distances are $:30,\ 3,\ 15,\ 40$

So SSTF chooses cylinder $47$.

The algorithm therefore makes a local greedy choice:

$\boxed{\mathrm{Choose\ the\ nearest\ pending\ cylinder}}$

Hence,

Answer : $\boxed{\mathrm{C}}$

ago
Answer:
Position:
Show:

Related questions

0 0 votes
2 2 answers
35
35 views
GO Classes asked 1 day ago
35 views
Which of the following statements about magnetic-disk arm scheduling is incorrect?FCFS handles requests according to arrival order and is considered fair, although it gen...
0 0 votes
1 1 answer
28
28 views
GO Classes asked 1 day ago
28 views
Suppose a disk repeatedly services requests for one particular track while requests for other tracks remain unserved. This phenomenon is called disk-arm sticking.Which of...
0 0 votes
1 1 answer
18
18 views
GO Classes asked 1 day ago
18 views
Consider the following statement:If disk requests are scheduled using SSTF, the seek time will increase compared with FCFS. Furthermore, the elevator algorithm is not rec...
0 0 votes
1 1 answer
35
35 views
GO Classes asked 1 day ago
35 views
A disk has $200$ tracks numbered $0$ through $199$.The disk head is currently at track $:184$Disk requests arrive for:$184,\ 187,\ 176,\ 182,\ 199$If SSTF scheduling is u...