🎓 BookMCQ
← Back to 10. Mass Storage Structure

📝 C SCAN scheduling in Disk Scheduling (8 MCQs)

Circular Directional Scanning Across Disk Cylinders

Circular SCAN is a disk-scheduling algorithm that services requests while moving in one direction only. After reaching the final cylinder in that direction, the head returns to the opposite end without servicing requests during the return movement. It then begins another sweep in the original direction. This circular organisation aims to provide more uniform waiting times across different cylinder locations.

Why Circular Sweeps Improve Waiting-Time Distribution

Traditional SCAN alternates between upward and downward service directions, so requests near the two ends can experience different waiting intervals. C-SCAN treats the cylinder range more uniformly by servicing requests in one direction. The return journey creates additional mechanical movement, but requests are encountered under a consistent sweep policy rather than alternating service directions.

One-Direction Service and Return-to-Start Operation

The scheduler selects requests ahead of the current head position in ascending or descending order, depending on the configured direction. After servicing requests in that direction, the head travels to the disk boundary. It then returns to the opposite boundary without servicing requests on the return journey and resumes the original direction.

Tracing a Circular Sweep from Cylinder Fifty

Assume cylinders range from 0 to 199, the head starts at 50, and requests are at 82, 140, 170, and 43. While moving upward, C-SCAN services 82, 140, and 170, then reaches 199. It returns to 0 without servicing requests and begins another upward sweep to service 43.

More Uniform Waiting and Additional Head Travel

C-SCAN can provide more predictable waiting-time distribution because requests are serviced in a consistent direction. Its disadvantage is the return movement between disk boundaries, which may create substantial additional head travel. The policy is particularly relevant to rotating disks, where positioning costs are significant, rather than SSDs with no mechanical head movement.

Distinguishing Circular SCAN from Standard SCAN

'C-SCAN reverses direction and services requests during its return' is incorrect because the return sweep performs no request service. 'C-SCAN turns around at the last pending request' is incorrect because it normally travels to the disk boundary. 'C-SCAN always minimises total head movement' is incorrect because its circular return adds movement.

Exam Focus: Circular Service Order and Return Movement

Arrange requests in the initial direction, service those ahead of the head, and include movement to the disk boundary and return to the opposite end. Do not count requests during the return journey. Resume service in the original direction and compare total movement with SCAN and LOOK using identical starting conditions.

Key Terms of C-SCAN Scheduling

  • C-SCAN - Circular directional disk scheduling.
  • Circular sweep - Repeated one-direction service cycle.
  • Return movement - Travel without request service.
  • Disk boundary - End of cylinder range.
  • Service direction - Direction for request handling.
  • Waiting time - Delay before request completion.
1
Easy
5
Medium
2
Hard

📝 All C SCAN scheduling in Disk Scheduling MCQs

Q1. What does the C‑SCAN disk‑scheduling algorithm stand for?

A.Circular SCAN ✅
B.Constant Scan
C.Concurrent Scan
D.Cylindrical Scan
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: Circular SCAN is the correct expansion of C‑SCAN. The other choices are invented terms that do not correspond to the algorithm. Knowing the name helps identify the method, which moves the disk arm in one direction, jumps to the start, and repeats, similar to a circular elevator. This basic fact is often asked in introductory OS quizzes, and recalling it distinguishes C‑SCAN from other scheduling strategies.

Q2. How does C‑SCAN differ from the traditional SCAN algorithm after the disk arm reaches the highest‑numbered request?

A.It reverses direction and services lower‑numbered requests immediately.
B.It continues in the same direction, jumps to the lowest cylinder, and resumes servicing. ✅
C.It stops and waits for new requests before moving again.
D.It randomly selects the next request regardless of cylinder order.
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: C‑SCAN differs by keeping the head moving in one direction; when it reaches the highest request, it goes to the outermost cylinder, then jumps to the innermost cylinder without servicing any intermediate requests, and continues upward. This contrasts with SCAN, which reverses direction and services pending lower‑numbered requests. The jump prevents the head from repeatedly traversing the same range, reducing variance in response times.

Q3. Why does C‑SCAN usually provide more uniform wait times than FCFS?

A.It always services the closest request first.
B.It groups requests by process ID.
C.It services requests in a single circular direction, preventing long jumps. ✅
D.It prioritizes reads over writes.
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: C‑SCAN moves the head in one consistent direction, servicing all requests encountered before wrapping to the beginning. Because every request is served in the same order each rotation, no request suffers an unusually long wait caused by a far‑away request that might appear early in FCFS. This uniform traversal leads to more predictable, evenly distributed wait times across all processes, unlike FCFS where a single distant request can delay many others.

Q4. Given pending requests at cylinders 55, 58, 18, 90, and 150, with the head currently at 50 moving upward on a 0‑199 cylinder disk, what is the total head movement using C‑SCAN?

A.167
B.216
C.366 ✅
D.420
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Starting at 50, the head moves upward to 55 (5), then to 58 (3), 90 (32), and 150 (60). It continues to the highest cylinder 199 (49), then jumps to cylinder 0 (199) and finally moves to 18 (18). Adding these distances gives 5+3+32+60+49+199+18 = 366 cylinders traveled. The other totals correspond to incomplete or mis‑ordered calculations, so 366 is the correct total head movement.

Q5. A disk has cylinders 0–199. Requests are at 40, 10, 70, 130, 160, and 190. The head starts at 120 and moves upward. What is the total distance the head travels under C‑SCAN?

A.338 ✅
B.300
C.280
D.250
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: With the head at 120 moving upward, C‑SCAN serves 130 (10), 160 (30), and 190 (30) before proceeding to the last cylinder 199 (9). It then jumps to cylinder 0 (199) and services the remaining lower requests: 10 (10) and 40 (30) and finally 70 (30). Summing these moves: 10+30+30+9+199+10+30+30 = 338 cylinders, which is the correct total distance. All other options miss one or more segments of the journey.

Q6. In a workload dominated by large sequential writes, which advantage makes C‑SCAN preferable to LOOK?

A.It reduces rotational latency by skipping cylinders.
B.It guarantees that each cylinder is visited exactly once per cycle.
C.It minimizes the number of direction changes, lowering mechanical wear. ✅
D.It always chooses the shortest seek distance.
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: C‑SCAN keeps the head moving in a single direction, only changing direction when it reaches the outermost cylinder and then instantly jumps to the innermost. This eliminates the frequent reversals that LOOK performs each time the highest pending request is serviced. Fewer direction changes reduce mechanical stress and wear on the actuator, making C‑SCAN especially attractive for workloads with long sequential writes where the head already moves in one direction for extended periods. The other options describe benefits not specific to C‑SCAN.

Q7. For requests at cylinders 95, 180, 34, 11, and 123 with the head at 50 moving upward, which algorithm yields the lower average seek time?

A.FCFS
B.C‑SCAN ✅
C.Both give the same average
D.Cannot be determined without more data
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Under FCFS the head travels 45 + 85 + 146 + 23 + 112 = 411 cylinders, giving an average of 82.2 cylinders per request. Using C‑SCAN, the head serves 95 (45), 123 (28), 180 (57), then moves to 199 (19), jumps to 0 (199), and finally serves 11 (11) and 34 (23), totaling 382 cylinders and an average of 76.4 cylinders. Because C‑SCAN’s average is lower, it provides better overall performance for this set of requests. The other choices either overestimate or claim insufficient information, which is incorrect.

Q8. On a disk with cylinders 0–499, pending requests are at 10, 220, 340, and 470. The head is at 200 moving upward. What is the total head movement using C‑SCAN?

A.600
B.720
C.808 ✅
D.650
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Starting at 200, the head moves to 220 (20), then to 340 (120), and to 470 (130). It continues to the outermost cylinder 499 (29), jumps to cylinder 0 (499), and finally moves to 10 (10). Adding these distances yields 20+120+130+29+499+10 = 808 cylinders traveled. The other answer choices omit one or more segments of the path, so 808 is the correct total head movement.

🔗 Related Topics (MCQs)