GATE Exam  >  GATE Questions  >  Suppose a disk has 201 cylinders, numbered fr... Start Learning for Free
Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder
100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and
145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request for
cylinder 90 is serviced after servicing ____________ number of requests.
    Correct answer is '3'. Can you explain this answer?
    Most Upvoted Answer
    Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time...
    Explanation:

    SSTF algorithm works by servicing the request that is closest to the current position of the disk arm. In this case, the disk arm is at cylinder 100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and 145.

    When the algorithm starts, it will service the request for cylinder 100, which is the closest request to the current position of the disk arm. After servicing cylinder 100, the algorithm will select the closest request to it, which is cylinder 90.

    Therefore, the request for cylinder 90 is serviced after servicing 2 requests, which are cylinders 85 and 105. So, the answer is 3, as the request for cylinder 90 is serviced after servicing 3 requests, which are cylinders 85, 105, and 145.

    Final Answer: 3.
    Explore Courses for GATE exam

    Similar GATE Doubts

    Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request forcylinder 90 is serviced after servicing ____________ number of requests.Correct answer is '3'. Can you explain this answer?
    Question Description
    Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request forcylinder 90 is serviced after servicing ____________ number of requests.Correct answer is '3'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared according to the GATE exam syllabus. Information about Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request forcylinder 90 is serviced after servicing ____________ number of requests.Correct answer is '3'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request forcylinder 90 is serviced after servicing ____________ number of requests.Correct answer is '3'. Can you explain this answer?.
    Solutions for Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request forcylinder 90 is serviced after servicing ____________ number of requests.Correct answer is '3'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE. Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
    Here you can find the meaning of Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request forcylinder 90 is serviced after servicing ____________ number of requests.Correct answer is '3'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request forcylinder 90 is serviced after servicing ____________ number of requests.Correct answer is '3'. Can you explain this answer?, a detailed solution for Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request forcylinder 90 is serviced after servicing ____________ number of requests.Correct answer is '3'. Can you explain this answer? has been provided alongside types of Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request forcylinder 90 is serviced after servicing ____________ number of requests.Correct answer is '3'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Suppose a disk has 201 cylinders, numbered from 0 to 200. At some time the disk arm is at cylinder100, and there is a queue of disk access requests for cylinders 30, 85, 90, 100, 105, 110, 135 and145. If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request forcylinder 90 is serviced after servicing ____________ number of requests.Correct answer is '3'. Can you explain this answer? tests, examples and also practice GATE tests.
    Explore Courses for GATE exam
    Signup for Free!
    Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
    10M+ students study on EduRev