How DMA operation is performed? Consider a disk with 200 tracks and the queue has random requests from different processes in the order: 45, 48, 29, 17, 80, 150, 28, and 188. Find the seek time using FIFO, SSTF and SCAN. Assume that the initial position of head is at 100.
How do you distinguish between deadlock and starvation? Describe the necessary conditions for deadlock. Explain the working mechanism of TLB.
Why do we need to schedule process? Find the average waiting time and average turnaround time for the following set of processes using FCFS, SJF, RR(Quantum: 3) and Shortest Remaining Time Next.
| Process | CPU Burst Time | Arrival Time |
| P1 | 20 | 0 |
| P2 | 25 | 15 |
| P3 | 10 | 30 |
| P4 | 15 | 45 |
Attempt any Eight questions
[8x5=40]What is system call? Describe the transition between different states of a process.
Discuss about contiguous and linked list allocation approach in implementing files.
Why do we need virtual memory? Describe the structure of a page table.
Illustrate the term safe and unsafe state in deadlock prevention with a scenario.
How lock variable is used in achieving mutual exclusion? Describe.
Why do we need hierarchical directory system? Explain the structure of a disk.
Find the number of page faults using FIFO and LRU for the reference string, 4, 3, 6, 1, 7, 6, 1, 2, 1, 2 with frame size 3.
Define working set. How does clock page replacement algorithm work?
Write short notes on
a. Inodes
b. RAID