Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Disk requests come to a disk driver for cylin... Start Learning for Free
Disk requests come to a disk driver for cylinders in the order 10,22,20,2,40,6 and 38, at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms per cylinder. The total seek time, if the disk arm scheduling algorithm is first-come-first-served is
  • a)
    360 ms
  • b)
    850 ms
  • c)
    900 ms
  • d)
    None of these
Correct answer is option 'D'. Can you explain this answer?
Verified Answer
Disk requests come to a disk driver for cylinders in the order 10,22,2...
The disk drive has to traverse totally 146 cylinders (verify). So, seek time is 6 x 146 = 876 ms.
View all questions of this test
Most Upvoted Answer
Disk requests come to a disk driver for cylinders in the order 10,22,2...
Explanation:

In the First-Come-First-Served (FCFS) disk scheduling algorithm, the disk requests are serviced in the order they arrive. So, the seek time for each request is calculated based on the difference between the current and next cylinder.

Given:
Initial cylinder: 20
Cylinder requests: 10, 22, 20, 2, 40, 6, 38

To calculate the total seek time, we need to calculate the seek time for each request and sum them up.

Seek Time Calculation:

1. From cylinder 20 to cylinder 10: 20 - 10 = 10
2. From cylinder 10 to cylinder 22: 22 - 10 = 12
3. From cylinder 22 to cylinder 20: 22 - 20 = 2
4. From cylinder 20 to cylinder 2: 20 - 2 = 18
5. From cylinder 2 to cylinder 40: 40 - 2 = 38
6. From cylinder 40 to cylinder 6: 40 - 6 = 34
7. From cylinder 6 to cylinder 38: 38 - 6 = 32

Total Seek Time Calculation:

Total Seek Time = Seek Time for each request

Total Seek Time = 10 + 12 + 2 + 18 + 38 + 34 + 32

Total Seek Time = 146

Conversion to Milliseconds:

The seek time given is 6 ms per cylinder. So, we need to multiply the total seek time by 6 to get the seek time in milliseconds.

Total Seek Time in milliseconds = Total Seek Time * 6

Total Seek Time in milliseconds = 146 * 6

Total Seek Time in milliseconds = 876 ms

Therefore, the total seek time for the given disk requests using the First-Come-First-Served (FCFS) disk scheduling algorithm is 876 milliseconds.
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

Disk requests come to a disk driver for cylinders in the order 10,22,20,2,40,6 and 38, at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms per cylinder. The total seek time, if the disk arm scheduling algorithm is first-come-first-served isa)360 msb)850 msc)900 msd)None of theseCorrect answer is option 'D'. Can you explain this answer?
Question Description
Disk requests come to a disk driver for cylinders in the order 10,22,20,2,40,6 and 38, at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms per cylinder. The total seek time, if the disk arm scheduling algorithm is first-come-first-served isa)360 msb)850 msc)900 msd)None of theseCorrect answer is option 'D'. Can you explain this answer? for Computer Science Engineering (CSE) 2025 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Disk requests come to a disk driver for cylinders in the order 10,22,20,2,40,6 and 38, at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms per cylinder. The total seek time, if the disk arm scheduling algorithm is first-come-first-served isa)360 msb)850 msc)900 msd)None of theseCorrect answer is option 'D'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Disk requests come to a disk driver for cylinders in the order 10,22,20,2,40,6 and 38, at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms per cylinder. The total seek time, if the disk arm scheduling algorithm is first-come-first-served isa)360 msb)850 msc)900 msd)None of theseCorrect answer is option 'D'. Can you explain this answer?.
Solutions for Disk requests come to a disk driver for cylinders in the order 10,22,20,2,40,6 and 38, at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms per cylinder. The total seek time, if the disk arm scheduling algorithm is first-come-first-served isa)360 msb)850 msc)900 msd)None of theseCorrect answer is option 'D'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Disk requests come to a disk driver for cylinders in the order 10,22,20,2,40,6 and 38, at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms per cylinder. The total seek time, if the disk arm scheduling algorithm is first-come-first-served isa)360 msb)850 msc)900 msd)None of theseCorrect answer is option 'D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Disk requests come to a disk driver for cylinders in the order 10,22,20,2,40,6 and 38, at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms per cylinder. The total seek time, if the disk arm scheduling algorithm is first-come-first-served isa)360 msb)850 msc)900 msd)None of theseCorrect answer is option 'D'. Can you explain this answer?, a detailed solution for Disk requests come to a disk driver for cylinders in the order 10,22,20,2,40,6 and 38, at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms per cylinder. The total seek time, if the disk arm scheduling algorithm is first-come-first-served isa)360 msb)850 msc)900 msd)None of theseCorrect answer is option 'D'. Can you explain this answer? has been provided alongside types of Disk requests come to a disk driver for cylinders in the order 10,22,20,2,40,6 and 38, at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms per cylinder. The total seek time, if the disk arm scheduling algorithm is first-come-first-served isa)360 msb)850 msc)900 msd)None of theseCorrect answer is option 'D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Disk requests come to a disk driver for cylinders in the order 10,22,20,2,40,6 and 38, at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms per cylinder. The total seek time, if the disk arm scheduling algorithm is first-come-first-served isa)360 msb)850 msc)900 msd)None of theseCorrect answer is option 'D'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
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