Question
In I/O scheduling, which of the following algorithms
minimizes seek time but may lead to starvation of requests at the ends of the disk?ÂSolution
The SCAN (Elevator Algorithm) moves the disk arm in one direction, servicing requests in that direction until it reaches the end of the disk, and then reverses direction. While this minimizes seek time by servicing requests in the current direction, it can cause starvation for requests located at the far ends of the disk, particularly if new requests continuously arrive closer to the middle of the disk. This behavior leads to longer wait times for the requests at the extreme ends of the disk. Why Other Options are Incorrect: A) FCFS: FCFS is a simple algorithm that services requests in the order they arrive, without consideration of seek time, and thus avoids starvation but does not minimize seek time. B) SSTF: SSTF selects the closest request to the current position, reducing seek time but also potentially causing starvation for requests far from the current position. D) C-SCAN: C-SCAN operates similarly to SCAN but only moves in one direction, avoiding starvation by providing equal treatment to all disk regions. E) LOOK Scheduling: LOOK is a variant of SCAN that stops moving when there are no more requests in the current direction, reducing the risk of starvation.
Who among the following sits exactly between A and B?
Which of the following statement is/are true in the final arrangement?
I) P sits immediate right of the person who faces S
II) Only four p...
There are five persons D, E, F, G and H, who sit in a straight row. F sits second to the right of D. Neither E nor H sits to the left of F. G sits seco...
Four of the following five are alike in a certain way and hence form a group. Who among the following one who does not belong to that group?
How many persons sit between T and V when counted from the right of V?
Who sits exactly between D and F?
Who among the following person sits 2nd to the right of the one who sits opposite to S?
Who among the following is third to the left of fifth from the right of Swati?
Eight friends, R, S, T, U, V, W, X and Y are sitting in a line facing north. V is sitting at one of the corners. S is sitting between Y and T. X is sitt...
How many persons are seated in a table (Including unknown persons)?