Operating Systems Concepts

Q1: A disk scheduling algorithm in an operating system causes the disk arm to move back and forth across the disk surface in order to service all requests in its path. This is a

A First come first served

B Shortest Seek Time First (SSTE)

C Scan

D FIFO

E None of the above

ANS:C - Scan

Disk Scheduling Algorithms.

1) FCFS - Requests are addressed in the order they arrive.

2) SSTF- just like shortest job first, the request with shortest seek time (time required to locate data) are executed first. Seek time of requests is calculated and accordingly scheduled.

3) SCAN- disk arm will move in a particular direction and addresses requests in its path after reaching the end of the disk, it reverses it's direction and repeats the previous process also known as elevator algorithm.

4) LOOK- similar to scan except for disk arm in spite reaching end of the disk goes to the last request to be addressed in the front of the head and then reverses its direction. It prevents extra delay due to unnecessary traversal to disk end.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.