Consider the following disk request sequence for a disk with 100 tracks. 60,…

2023

Consider the following disk request sequence for a disk with 100 tracks. 60, 45, 21, 67 Head pointer starting at 60 and moving in the left direction. Find the number of head movements in cylinders using FCFS scheduling.

Answer: A. 85In FCFS, we move from the current position to the next track in the sequence, regardless of the direction or distance. Start at 60: The first request is 60.…

  1. A.

    85

  2. B.

    90

  3. C.

    80

  4. D.

    193

Attempted by 366 students.

Show answer & explanation

Correct answer: A

In FCFS, we move from the current position to the next track in the sequence, regardless of the direction or distance.

  1. Start at 60: The first request is 60. Since the head is already at 60, movement = 0.

  2. Move to 45: |60 - 45| = 15 cylinders.

  3. Move to 21: |45 - 21| = 24 cylinders.

  4. Move to 67: |21 - 67| = 46 cylinders.

Total Head Movement:

15 + 24 + 46 = 85 cylinders

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

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…