Disk Scheduling Questions with Answers

33 practice questions on Disk Scheduling (Operating Systems) with answers and step-by-step solutions. Try 10 samples below, then practise all 33 free in the AptiNest app.

Sample questions

Question 1Easy

RAID 0 provides:

  1. Mirroring of every block onto a second disk
  2. Double parity
  3. Striping for performance but no redundancy
  4. Distributed parity

Answer: C. Striping for performance but no redundancy

Explanation

RAID 0 splits data across disks to increase throughput, but a single disk failure loses data.

Step-by-step solution

  1. RAID 0 spreads data across multiple disks for faster access.
  2. It does not duplicate data for backup.
  3. No parity is used to protect against disk failures.
  4. This setup improves speed but lacks redundancy.
  5. Final answer: Striping for performance but no redundancy.

Why the other options are wrong

  • A. Mirroring every block onto a second disk is RAID 1; RAID 0 spreads data across disks without any copies.
  • B. Double parity is RAID 6, which RAID 0 does not use because it has no parity at all.
  • D. Distributed parity is RAID 5; RAID 0 has no parity of any kind.

Tip: RAID 0 = Speed, No Safety.

Question 2Easy

A disk rotates at 6000 RPM. What is its average rotational latency?

  1. 10 ms
  2. 2.5 ms
  3. 6 ms
  4. 5 ms

Answer: D. 5 ms

Explanation

One rotation takes 60/6000 s = 10 ms; on average the sector is half a rotation away, so 5 ms.

Step-by-step solution

  1. One full rotation takes 60 / 6000 = 0.01 seconds.
  2. Average rotational latency is half of one rotation, so 0.01 / 2 = 0.005 seconds.
  3. Convert to milliseconds: 0.005 * 1000 = 5 ms.
  4. Final answer: 5 ms.

Why the other options are wrong

  • A. 10 ms is the full rotation time at 6000 RPM, but the average latency is half of one rotation.
  • B. 2.5 ms is a quarter of a rotation; the average latency is half a rotation, which is 5 ms.
  • C. 6 ms does not match the rotation time halved; at 6000 RPM the average latency is 5 ms.

Tip: Divide total rotation time by 2 for average latency.

Question 3Easy

Which disk scheduling algorithm is also known as the elevator algorithm?

  1. Shortest Job First
  2. FCFS
  3. SSTF
  4. SCAN

Answer: D. SCAN

Explanation

SCAN moves the head to one end servicing requests, then reverses, like an elevator.

Step-by-step solution

  1. The elevator algorithm moves the head back and forth across the disk.
  2. It serves the requests it passes on each sweep.
  3. That is the SCAN algorithm. Marked answer: SCAN.

Why the other options are wrong

  • A. Shortest Job First is a CPU scheduling method, not a disk scheduling method.
  • B. FCFS serves in arrival order with no sweeping.
  • C. SSTF picks the nearest request each time, with no fixed sweep.

Tip: Elevator = SCAN (or LOOK): sweep one way, then reverse.

Question 4Easy

Total disk access time is made up of:

  1. Seek time + rotational latency + transfer time
  2. Seek time only
  3. Rotational latency + CPU burst
  4. CPU burst time + I/O waiting time

Answer: A. Seek time + rotational latency + transfer time

Explanation

Seek and rotation usually dominate for random accesses; transfer time is small for a single sector.

Step-by-step solution

  1. Disk access time includes moving the head to the correct track.
  2. Rotational latency is the time waiting for the sector to rotate under the head.
  3. Transfer time is the actual data reading/writing time.

Why the other options are wrong

  • B. Seek time is only one part; rotational latency and transfer time also add to access time.
  • C. CPU burst is not part of disk access time; rotational latency alone is incomplete.
  • D. CPU burst and I/O waiting time are not the parts of disk access time.

Question 5Medium

A disk has 4 platters (8 recording surfaces), 1,000 tracks per surface, 500 sectors per track and 512 bytes per sector. What is its capacity?

  1. 2,048,000,000 bytes
  2. 4,096,000,000 bytes
  3. 1,024,000,000 bytes
  4. 256,000,000 bytes

Answer: A. 2,048,000,000 bytes

Explanation

Capacity = 8 x 1,000 x 500 x 512 = 2,048,000,000 bytes (about 2 GB).

Step-by-step solution

  1. Platters = 4, surfaces = 8.
  2. Tracks per surface = 1,000.
  3. Sectors per track = 500.
  4. Bytes per sector = 512.
  5. Total capacity = 8 * 1,000 * 500 * 512 = 2,048,000,000 bytes.

Why the other options are wrong

  • B. 4,096,000,000 doubles the answer; 8 surfaces times 1,000 tracks times 500 sectors times 512 bytes is 2,048,000,000.
  • C. 1,024,000,000 would need only 4 surfaces; with 8 surfaces the capacity is 2,048,000,000 bytes.
  • D. 256,000,000 is far too small; 8 times 1,000 times 500 times 512 gives 2,048,000,000 bytes.

Tip: Use formula: Capacity = surfaces × tracks × sectors × bytes per sector.

Question 6Medium

Why do disk scheduling algorithms matter much less for SSDs?

  1. SSDs have no moving head, so access time hardly depends on location
  2. SSDs cannot queue requests
  3. SSDs only support sequential reads
  4. SSDs can only process one request at a time, so ordering cannot help

Answer: A. SSDs have no moving head, so access time hardly depends on location

Explanation

Without mechanical seeks or rotation, reordering requests by position gives little benefit; simple FCFS-like schedulers are common.

Step-by-step solution

  1. SSDs do not have moving parts, so location does not affect access time.
  2. Disk scheduling focuses on reducing seek time, which SSDs lack.
  3. Reordering requests by position gives little benefit to SSDs.
  4. Simple first-come-first-served schedulers are common for SSDs.
  5. Final answer: SSDs have no moving head, so access time hardly depends on location.

Why the other options are wrong

  • B. SSDs do queue requests and handle several at once, so queuing is not the reason scheduling matters less.
  • C. SSDs read random blocks as well as sequential ones, so a sequential-only limit is not the reason.
  • D. SSDs can handle several requests in parallel, so one-at-a-time processing is not the reason ordering matters less.

Tip: SSDs don't need complex scheduling because they have no moving parts.

Question 7Medium

In RAID 1, data is:

  1. Striped with distributed parity
  2. Stored with a dedicated parity disk
  3. Striped with no redundancy
  4. Mirrored on two disks

Answer: D. Mirrored on two disks

Explanation

RAID 1 duplicates every block on a second disk, so either copy can survive a single-disk failure.

Step-by-step solution

  1. RAID 1 uses two identical disks for data storage.
  2. Data is written to both disks simultaneously.
  3. If one disk fails, the other continues working without data loss.
  4. This setup ensures data is mirrored on two disks.
  5. Final answer: Mirrored on two disks.

Why the other options are wrong

  • A. Striping with distributed parity is RAID 5, which spreads parity across the disks.
  • B. A dedicated parity disk is RAID 3 or 4, not RAID 1, which simply copies data.
  • C. Striping with no redundancy is RAID 0; RAID 1 keeps a full copy of the data on each disk.

Tip: Remember RAID 1 = mirroring, not parity or striping.

Question 8Medium

A disk has cylinders 0 to 199. The head is at cylinder 50, moving towards higher-numbered cylinders. The request queue (in arrival order) is: 82, 170, 43, 140, 24, 16, 190. What is the total head movement (in cylinders) under LOOK?

  1. 208
  2. 314
  3. 332
  4. 642

Answer: B. 314

Explanation

Service path: 50 -> 82 -> 140 -> 170 -> 190 -> 43 -> 24 -> 16. Total = 32 + 58 + 30 + 20 + 147 + 19 + 8 = 314 cylinders.

Step-by-step solution

  1. LOOK goes up only to the last request in that direction, 190.
  2. Movement 50 to 190 = 140 cylinders.
  3. It reverses and goes down to the lowest request, 16: 190 to 16 = 174 cylinders.
  4. Total = 140 + 174 = 314. Marked answer: 314.

Why the other options are wrong

  • A. 208 is the SSTF total for this queue.
  • C. 332 is the SCAN total; SCAN goes to cylinder 199 first.
  • D. 642 is the FCFS total for this queue.

Tip: LOOK is SCAN without the empty trip to the disk edge.

Question 9Hard

A disk has cylinders 0 to 199. The head is at cylinder 100, moving towards higher-numbered cylinders. The request queue (in arrival order) is: 23, 89, 132, 42, 187. What is the total head movement (in cylinders) under C-LOOK? Count the jump back from the highest to the lowest pending request as head movement.

  1. 317
  2. 275
  3. 421
  4. 273

Answer: A. 317

Explanation

Service path: 100 -> 132 -> 187 -> 23 -> 42 -> 89. Total = 32 + 55 + 164 + 19 + 47 = 317 cylinders.

Step-by-step solution

  1. Going up from 100 serves 132 and 187: 32 + 55 = 87 cylinders.
  2. The jump back from 187 to the lowest pending request, 23, counts as 164 cylinders.
  3. Going up again serves 42 and 89: 23 to 89 = 66 cylinders.
  4. Total = 87 + 164 + 66 = 317. Marked answer: 317.

Why the other options are wrong

  • B. 275 is the SCAN total: the head goes up to cylinder 199 and then back down to 23, instead of stopping at 187 and jumping back.
  • C. 421 is the FCFS total for this queue.
  • D. 273 does not match the C-LOOK total with the jump included, which is 317.

Tip: C-LOOK: sweep one way, jump to the far-end request, and count the jump as movement.

Question 10Hard

A disk rotates at 12,000 RPM and each track holds 400 sectors of 512 bytes. What is the maximum sustained transfer rate when reading a whole track per rotation?

  1. 20,480,000 bytes/s
  2. 81,920,000 bytes/s
  3. 40,960,000 bytes/s
  4. 204,800 bytes/s

Answer: C. 40,960,000 bytes/s

Explanation

12,000 RPM = 200 rotations per second.
One track = 400 x 512 = 204,800 bytes, so 204,800 x 200 = 40,960,000 bytes/s.

Step-by-step solution

  1. 12,000 RPM = 200 rotations/s.
  2. Track = 400 x 512 = 204,800 bytes.
  3. Rate = 204,800 x 200 = 40,960,000 bytes/s.

Why the other options are wrong

  • A. 20,480,000 uses 100 rotations/s.
  • B. 81,920,000 uses 400 rotations/s.
  • D. 204,800 is one track, not per second.

Tip: RPM/60 = rotations per second.

Practise all 33 questions free

The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.

Open this topic in the app →

Related topics

See all Operating Systems topics · All topics