Complete the code to identify the main purpose of the LOOK disk scheduling algorithm.
The LOOK algorithm moves the disk arm towards the last request in one direction and then [1].
The LOOK algorithm moves the disk arm towards the last request in one direction and then reverses direction to service requests on the return path.
Complete the code to describe how C-LOOK differs from LOOK.
Unlike LOOK, C-LOOK moves the disk arm in one direction and then [1] to the beginning without servicing requests on the return.
C-LOOK moves the disk arm in one direction servicing requests, then jumps back to the beginning without servicing requests on the return.
Fix the error in the statement about LOOK algorithm behavior.
LOOK algorithm always moves the disk arm to the very end of the disk before [1].The LOOK algorithm does not move to the very end of the disk unless there is a request there; it moves only as far as the last request before reversing direction.
Fill both blanks to complete the description of C-LOOK's disk arm movement.
C-LOOK moves the disk arm in one direction until the last request, then [1] to the [2] request without servicing requests on the way back.
C-LOOK moves the disk arm in one direction until the last request, then jumps back to the beginning request without servicing requests on the return.
Fill both blanks to complete the dictionary comprehension representing LOOK algorithm's request servicing order.
look_order = {req: req for req in requests if req {BLANK_2}} current_pos and req {{BLANK_2}} direction_limit{{D}}The dictionary comprehension starts with '{', filters requests greater than current position and less than direction limit, and ends with '}'.