OS Assignmrnt 2 OS
OS Assignmrnt 2 OS
__________________________________________________________________________________
8. Suppose that a disk drive has a 5000 cylinders, numbered 0 to 4999. The drive currently
serving request at cylinder 2150 and previous request was at cylinder 1805. The queue of
pending request in FIFO order is 2069, 1212, 2296, 2800, 544, 1618, 356, 1523, 4965
3681. Starting from the current head position, what is the total distance (in cylinders) that
the disk arm moves to satisfy all the pending request for each of the following disk
scheduling algorithm?
9. Assume process arrived at time 0 given with length of CPU Burst time given millisecond.
P1 10
P2 29
P3 04
P4 07
P5 12
Consider FCFS, SJF and RR (Quantum = 10 milliseconds) which algorithm give
minimum waiting time. (Show the scheduling order of process using Gantt Chart)
10. Difference between paging and segmentation.
11. Explain the demand paging concept for the following reference string -
b. Assuming 3 frames find out the number of page faults for replacement algorithm
12. Define File System .explain various operation perform on the File.
time
P1 3ms 0 3
P2 5ms 1 1
P3 2ms 2 2
P4 5ms 3 5
P5 5ms 4 4