0
0
Operating Systemsknowledge~5 mins

SSTF (Shortest Seek Time First) in Operating Systems - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does SSTF stand for in disk scheduling?
SSTF stands for Shortest Seek Time First. It is a disk scheduling algorithm that selects the disk I/O request closest to the current head position to minimize seek time.
Click to reveal answer
beginner
How does SSTF decide which disk request to serve next?
SSTF chooses the request that requires the least movement of the disk arm from its current position, reducing the seek time for each operation.
Click to reveal answer
intermediate
What is a potential drawback of the SSTF algorithm?
SSTF can cause starvation, where some requests far from the current head position may wait a long time if closer requests keep arriving.
Click to reveal answer
intermediate
Compare SSTF with FCFS (First-Come, First-Served) in disk scheduling.
SSTF usually reduces average seek time by choosing the closest request next, while FCFS serves requests in arrival order without considering distance, which can lead to longer seek times.
Click to reveal answer
advanced
In what scenario might SSTF perform poorly despite its goal to minimize seek time?
If requests are clustered far apart, SSTF might keep switching between nearby requests and neglect others, causing some requests to wait too long, leading to starvation.
Click to reveal answer
What is the main goal of the SSTF disk scheduling algorithm?
AServe requests from the outer edge to the inner edge
BServe requests in the order they arrive
CMinimize the seek time by selecting the closest request
DServe requests randomly
Which problem can SSTF cause when handling disk requests?
AStarvation of some requests
BIncreased total seek time always
CIgnoring the closest requests
DServing requests in random order
How does SSTF differ from FCFS in disk scheduling?
ABoth serve requests in the same order
BSSTF serves the closest request; FCFS serves in arrival order
CSSTF serves requests randomly; FCFS serves closest first
DFCFS minimizes seek time; SSTF does not
If the disk head is at position 50, and requests are at 45, 55, and 60, which will SSTF serve next?
ARequest at 50
BRequest at 55
CRequest at 60
DRequest at 45
Which of these is NOT a characteristic of SSTF?
AAlways serves requests in arrival order
BMinimizes seek time
CCan cause starvation
DSelects the nearest request to current head
Explain how the SSTF disk scheduling algorithm works and one advantage and one disadvantage of using it.
Think about how the disk arm moves and what happens to far away requests.
You got /3 concepts.
    Compare SSTF with FCFS disk scheduling in terms of seek time and fairness.
    Consider both efficiency and how requests are treated over time.
    You got /4 concepts.