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

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

This question was previously asked in
UGC NET 2014 Paper 2 Computer Science and Applications Question Paper (28-Dec-2014)
The correct answer is

61

Shortest Seek First (SSF / SSTF) always serves next the pending request whose cylinder is closest to the current head position. The head reaches cylinder 11 first; the pending queue is then 1, 36, 16, 34, 9, 12.

From 11 the nearest is 12: \(|12-11|=1\). From 12 the nearest is 9: \(|12-9|=3\). From 9 the candidates are 16 (distance 7) and 1 (distance 8), so go to 16: \(|16-9|=7\).

From 16 the candidates are 1 (distance 15) and 34 (distance 18), so go to 1: \(|16-1|=15\). Then only the high cylinders remain: \(|34-1|=33\) and \(|36-34|=2\).

Service order 12, 9, 16, 1, 34, 36; total arm motion \(1+3+7+15+33+2=61\) cylinders.

Hence, the answer is 61.

Was this answer helpful?

Similar Questions

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

  2. 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 :

  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