Explain the translation of logical address into physical address using segment table with necessary diagram. List advantages and disadvantages of segmentation.
Find the seek time using SCAN, C-SCAN, Look and C-Look disk scheduling algorithm for processing the following requests queue:
35, 70, 45, 15, 65, 20, 80, 90, 75, 130.
Suppose the disk has tracks numbered from 0 to 150 and assume the disk arm to be at 30 and moving outward.
Explain Sleeping Barber problem. Illustrate on how it can be solved.
Attempt any Eight questions
[8x5=40]Explain microkernels and exokernels.
Consider a swapping system in which memory consists of the following hole sizes in memory order 15 MB, 2 MB, 10 MB, 6 MB, 8 MB and 20 MB. Which hole is taken for successive segment requests of
a) 6 MB
b) 10 MB
c) 8 MB
for first fit, next fit and best fit.
Explain how semaphore solves the problem of critical section?
How do you think deadlock can be avoided? Explain.
Explain Inter-Process Communication in Linux.
List different file structures and explain them.
Calculate the average waiting time and turn around time using priority algorithm (priority 1 being the highest) for the given scenario:
| PID | Burst Time (s) | Arrival Time | Priority |
| A | 4 | 0 | 3 |
| B | 2 | 2 | 3 |
| C | 4 | 2 | 2 |
| D | 2 | 3 | 1 |
Explain memory mapped IO.
Write short notes on
a) Virtual memory
b) Race condition