Consider the following disc Queue with requests for I/O to block on cylinders:…

2025

Consider the following disc Queue with requests for I/O to block on cylinders: 45, 81, 185, 33, 175, 99, 150, 77
(Consider that the head starts from location 58)
What shall be the total head movement of cylinders if the FCFS disc scheduling method is used?

Answer: C. 647Answer: 647 cylinders total head movement. Key idea: For FCFS (First-Come, First-Served), service happens in the given request order. Compute the absolute…

  1. A.

    536

  2. B.

    594

  3. C.

    647

  4. D.

    700

Attempted by 174 students.

Show answer & explanation

Correct answer: C

Answer: 647 cylinders total head movement.

Key idea: For FCFS (First-Come, First-Served), service happens in the given request order. Compute the absolute distance between consecutive positions starting from the initial head position and sum them.

  1. 58 → 45 : |58 - 45| = 13 (cumulative 13)

  2. 45 → 81 : |45 - 81| = 36 (cumulative 49)

  3. 81 → 185 : |81 - 185| = 104 (cumulative 153)

  4. 185 → 33 : |185 - 33| = 152 (cumulative 305)

  5. 33 → 175 : |33 - 175| = 142 (cumulative 447)

  6. 175 → 99 : |175 - 99| = 76 (cumulative 523)

  7. 99 → 150 : |99 - 150| = 51 (cumulative 574)

  8. 150 → 77 : |150 - 77| = 73 (cumulative 647)

Total head movement = 13 + 36 + 104 + 152 + 142 + 76 + 51 + 73 = 647

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…