Question
Which I/O scheduling algorithm is most suitable for
minimizing seek time in hard drives?Solution
The Shortest Seek Time First (SSTF) algorithm prioritizes requests based on proximity to the current position of the disk head, thereby minimizing seek time. By processing the closest request first, it reduces the movement of the read/write head, improving efficiency and speed. SSTF is particularly effective when disk requests are concentrated around specific areas. However, a downside is the risk of starvation , where requests far from the current head position may be delayed indefinitely. Why Other Options Are Incorrect:
- Option A: FCFS processes requests in the order they arrive, which may lead to excessive head movement and higher seek times.
- Option C: SCAN moves the disk head in one direction, servicing requests along the way, which reduces starvation but may involve more movement than SSTF.
- Option D: LOOK is similar to SCAN but stops at the last request in the direction of motion. It still involves more head movement compared to SSTF.
- Option E: C-SCAN ensures uniform wait times but does not minimize seek time as effectively as SSTF.
In an office of 35 employees, the average salary is ₹48,000. One employee earning ₹45,000 resigns, and 4 new employees with an average salary of ₹...
Average of nine consecutive numbers is 56. Find the sum of smallest and largest number.
Ram scored an average of 5 goals per match in his first four games. However, he didn't score any goals in the following three matches. How many goals do...
Find the average of prime numbers between 30 and 50 .
Average weight of 13 nurses is 45 kg. If the weight of one more nurse is included, then average weight is increased by 1 kg. Find the weight of the newl...
In a group, 2 people with average weight 55 kg leave, and the average drops by 1 kg. If 3 people of average weight 56 kg leave, average drops by 2 kg. F...
The average age of three children is 20 years. If their ages are in the ratio 3:5:7. Find the age of the youngest child.
The average number of mangoes distributed among five farmers is 12. If each farmer received 1 mango more than the farmer before him, then find the highe...
The average age of a class of 24 girls is 15 years. If 6 new girls having average age of 10 years join the class, then the average age of the class beco...
The average of the present age of 'D' and 'E' is 40 years. If the ratio of the age of 'D' 5 years ago to the age of 'E' 5 years hence is 2:3, then find ...