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.
E is the only child of F and R is granddaughter of G, who is husband of F. I is father of U and son-in-law of F. How is E related to U?
- A is father of B. O is mother of P. P is the mother of B. How is P related to A?
How many female persons are there in the family?
Answer the questions based on the information given below.
In a family of three generation, there are eight members M, N, O, P, Q, R, S and T...
If G is the daughter of W’s father’s unmarried paternal aunt’s mother’s only son. Then how is mother of W related to the mother of G?
...How is U related to the niece of T?
Answer the questions based on the information given below .
There are seven persons D, E, F, G, H, I and J in a family of three generations. D i...
P is the brother of Q. S is the father of P. R is the brother of S. If T is the mother of R, then how is P related to T?
Answer the questions based on the information given below.
Nine persons G, K, M, F, H, J, I, N and L are there in the family of three generat...
If F&G@E@C$D then how is C related to F?