Suppose that a disk has 100 cylinders, numbered 0 to 99. The drive is currently serving a request at cylinder 45. The queue of pending request, in FIFO order is: 88, 72, 13, 74, 48, 9, 22, 50, 35 and 50. What is the total distance (in cylinders) that the disk arm moves to satisfy all pending request for each of the following disk scheduling algorithms?
a) FCFS
b) SCAN
c) SSTF
Why virtual memory technique is used in the computer system? What is logical address? Explain the process of conversion of logical address to physical address in single level paging scheme.
What is critical section? What are the operations that can be performed on the semaphore? Explain the solution to producer consumer problem using semaphore.
Attempt any Eight questions
[8x5=40]Draw and describe the 5-state process model.
What is kernel? Differentiate between monolithic and microkernel structure.
What is DMA? Explain how it works in brief with suitable diagram.
What are different types of file? Describe the sequential and random access of files.
What is deadlock? What are necessary conditions for deadlock? Explain.
What is thread? Explain user level thread and kernel level thread.
A 2 GB hard disk has 2 KB block size, calculate the size of bitmap for bitmap based free space management.
What is an operating system? Differentiate between time sharing and real time operating system.
Consider the following set of processes, with the length of CPU brust time given in milli seconds.
| Process | CPU Burst (ms) | Priority | Arrival Time (ms) |
|---|---|---|---|
| A | 8 | 3 | 0 |
| B | 9 | 1 (Lowest) | 0 |
| C | 10 | 2 | 0 |
| D | 6 | 4 (Highest) | 0 |