Question
Download Solution PDFConsider a disk system having 60 cylinders. Disk requests are received by a disk drive for cylinders 10, 22, 20, 2, 40, 6, and 38, in that order. Assuming the disk head is currently at cylinder 20, what is the time taken to satisfy all the requests if it takes 2 milliseconds to move from one cylinder to an adjacent one and Shortest Seek Time First (SSTF) algorithm is used ?
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFThe correct answer is option 3.
Key Points
Shortest Seek Time First (SSTF)
SSTF =(22-20+22-10+10-6+6-2+38-2+40-38)
=2+12+4+4+36+2
=60
It takes 2 milliseconds to move from one cylinder to adjacent one = 60x2 =120 milliseconds
∴ Hence the correct answer is 120 milliseconds.
Last updated on Jun 12, 2025
-> The UGC NET June 2025 exam will be conducted from 25th to 29th June 2025.
-> The UGC-NET exam takes place for 85 subjects, to determine the eligibility for 'Junior Research Fellowship’ and ‘Assistant Professor’ posts, as well as for PhD. admissions.
-> The exam is conducted bi-annually - in June and December cycles.
-> The exam comprises two papers - Paper I and Paper II. Paper I consists of 50 questions and Paper II consists of 100 questions.
-> The candidates who are preparing for the exam can check the UGC NET Previous Year Papers and UGC NET Test Series to boost their preparations.