All Exams Test series for 1 year @ ₹349 only
Question

Consider a disk queue with I/O requests on the following cylinders in their arriving order :

6, 10, 12, 54, 97, 73, 128, 15, 44, 110, 34, 45

The disk head is assumed to be at cylinder 23 and moving in the direction of decreasing number of cylinders. The cylinders are numbered 0 to 150. The disk head movement using SCAN-scheduling algorithm is :

This question was previously asked in
UGC NET 2016 Paper 3 Computer Science and Applications Question Paper (10-Jul-2016)
The correct answer is

173

SCAN (the elevator algorithm) moves the disk arm in one direction, servicing every request it passes, until it reaches the end of the disk; it then reverses and sweeps across the disk in the opposite direction, again servicing requests on the way. Head movement is the total number of cylinders the arm travels.

Step 1 — The head starts at cylinder 23 moving towards lower numbers. The pending requests below 23 are 15, 12, 10 and 6; the arm serves them in that order and continues to the inner edge, cylinder 0: \(23 - 0 = 23\) cylinders.

Step 2 — The arm reverses and sweeps outward across the whole disk to the outer edge, cylinder 150, the highest-numbered cylinder, serving 34, 44, 45, 54, 73, 97, 110 and 128 on the way: \(150 - 0 = 150\) cylinders.

MoveFromToCylinders moved
12315, 12, 10, 6 served on the way to 023
2034, 44, 45, 54, 73, 97, 110, 128 served on the way to 150150
Total173

Step 3 — Total head movement \(= 23 + 150 = 173\) cylinders.

172 would stop one cylinder short of the outer edge, cylinder 150. 227 and 228 cannot come from a sweep that first goes towards cylinder 0, because such a sweep travels at most 23 cylinders down and the width of the disk back up.

173 option is correct.

Was this answer helpful?

Similar Questions

  1. Consider an imaginary disk with 40 cylinders. A request come to read a block on cylinder 11. While the seek to cylinder 11 is in progress, new requests come in for cylinders 1, 36, 16, 34, 9 and 12 in that order. The number of arm motions using shortest seek first algorithm is

  2. Which of the following statements is not true about disk-arm scheduling algorithms ?

  3. A disk drive has 100 cylinders, numbered 0 to 99. Disk requests come to the disk driver for cylinders 12, 26, 24, 4, 42, 8 and 50 in that order. The driver is currently serving a request at cylinder 24. A seek takes 6 msec per cylinder moved. How much seek time is needed for shortest seek time first (SSTF) algorithm ?

  4. A disk has 300 cylinders (0 to 299). If the initial position of the read-write head is at cylinder 101, moving towards the higher end of the disk, calculate the total head movement following C_LOOK policy for the read request sequence:

    123, 45, 197, 87, 250, 198, 280

  5. Consider the following Graph of disk scheduling and identify the disk scheduling algorithm representing by this graph.

    Queue 84, 125, 11, 36, 170, 20, 172, 45

    Disk head movement graph over cylinders 0 to 199

Important Questions from Disk Scheduling

  1. If the Disk head is located initially at track 32, find the number of disk moves required with FCFS scheduling criteria if the disk queue of I/O blocks requests are :
    98, 37, 14, 124, 65, 67
  2. Move the Read/Write head of disk in or out to position on a correct track is known as ______.

  3. _______ is a process of lifting the process from memory and placing it on disk.

  4. Which of the following is the time taken to move an access arm to a certain track on a disk?

  5. Match List I with List II
    List IList II
    A. RAID Level 2I. Block interleaved distribution parity
    B. RAID Level 3II. Also known as P+Q redundancy Scheme
    C. RAID Level 5III. Bit interleaved parity
    D. RAID Level 6IV. Also known as Memory style error correcting code organization

    Choose the correct answer from the options given below:
Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
WB SET
December 13, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) December 2026 Mock Test Series
799 Tests 2 Tests Free
300 Attempts
4.4(45)
English, Hindi
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App