0
0
Operating Systemsknowledge~5 mins

LOOK and C-LOOK variants in Operating Systems - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the main idea behind the LOOK disk scheduling algorithm?
LOOK moves the disk arm towards the nearest request in one direction and reverses direction only when there are no more requests in that direction. It 'looks' ahead to avoid unnecessary travel to the disk's end.
Click to reveal answer
beginner
How does C-LOOK differ from LOOK in handling disk requests?
C-LOOK moves the disk arm in one direction only, servicing requests until the last one in that direction, then jumps back to the first request at the other end without servicing requests on the return trip.
Click to reveal answer
intermediate
Why does LOOK reduce unnecessary disk arm movement compared to SCAN?
LOOK stops moving the arm when there are no more requests in the current direction, instead of going all the way to the disk's end like SCAN, saving time and reducing wear.
Click to reveal answer
intermediate
What is the advantage of C-LOOK over LOOK in terms of disk arm movement?
C-LOOK only moves the arm in one direction, which can lead to more uniform wait times and less total arm movement by skipping the return trip servicing.
Click to reveal answer
advanced
In what scenario might LOOK be preferred over C-LOOK?
LOOK might be preferred when requests are evenly spread and servicing requests in both directions reduces wait time, as it services requests on the return trip as well.
Click to reveal answer
What does the LOOK algorithm do when there are no more requests in the current direction?
AIt stops and waits for new requests
BIt continues to the end of the disk
CIt reverses direction to service requests on the other side
DIt jumps to the first request on the disk
How does C-LOOK handle the return trip after servicing the last request in one direction?
AJumps directly to the first request without servicing
BReverses direction gradually
CStops and waits
DServices requests on the way back
Which algorithm moves the disk arm all the way to the disk's end regardless of requests?
ASCAN
BC-LOOK
CLOOK
DFCFS
What is a key benefit of C-LOOK over LOOK?
AServices requests in both directions
BReduces total arm movement by moving in one direction only
CAlways moves to the disk's end
DWaits for new requests before moving
Which disk scheduling algorithm is more likely to provide uniform wait times?
AFCFS
BLOOK
CRandom
DC-LOOK
Explain how the LOOK disk scheduling algorithm optimizes disk arm movement compared to SCAN.
Think about how LOOK 'looks' ahead before moving.
You got /3 concepts.
    Describe the main difference between LOOK and C-LOOK algorithms and how it affects disk arm movement.
    Consider the direction of arm movement and servicing on return.
    You got /4 concepts.