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.
How is LETTER written in the code language?
I. MASTER is written as NZHGVI
II. BOTTLE is written as YLGGOV
Statements: G ≤ H, H ≤ J, L < G
Conclusions: I. L < H II. J > L
...Six persons P, Q, R, S, T and U have different heights. Who is the 4th shortest person?
Statement I: Two persons are taller than P. R is not th...
In which direction is point B with respect to point C?
Statements:
I. F is to the east of C, which is to the east of E. D is to the nor...
A question is given, followed by two statements numbered (I) and (II). You have to decide whether the data provided in the statements is sufficient to ...
How many days did Mr. Bhatia take to complete his work?
I. His colleague Simran correctly remembers that Mr. Bhatia took more than five days but ...
Six persons D, E, F, G, H, and I stand in a queue according to their weight. Who among the following is just heavier than D?
Statement I: H is h...
How many pages are there in the book?
I. Lesson 8 and 9 take only 20 pages and at least five lessons take 13 pages each.
II. There ar...
How is ‘since’ written in a code language?
I. In a certain language ‘least inflation higher growth’ is written as &lsquo...
Five persons R, S, T, U, and V live on different floors of a five-storey building such that the bottommost floor is numbered 1 and the floor immediately...