Operating Systems 2071
Section-A
Attempt any two questions: (2x10=20)
AI is thinking...
1. How thread based execution minimizes the context switching problem of process based execution? Explain the different multithreading model.
AI is thinking...
2. What is page fault? Consider the following page reference string; 3, 3, 5, 4, 7, 1, 5, 5, 1, 4, 3, 7, 6, 3, 4, 1. How many page faults would occur for each of the following page replacement algorithms assuming 4 page frames?
a.) LRU page replacement
b.) FIFO page replacement
c.) Optimal page replacement
d.) Clock replacement
AI is thinking...
3. Suppose the head of a moving head disk with 200 tracks, numbered 0 to 199 is currently serving request at tracks 143 and has finished a request at track 125. The queue it request is kept in the FIFO order 86, 147, 91, 177, 94, 150, 102, 175, 130. What is the total head movements needed to satisfy these request for the following disk-scheduling algorithms?
i) FCFS ii) SSTF iii)SCAN iv)LOOK
AI is thinking...
Section-B
Attempt any eight questions: (8x5=20)
AI is thinking...
4. How operating is as a resource manager? Explain.
AI is thinking...
5. For each of the following transitions between the processes states, indicate whether the transition is possible. If it is possible, give an example of one thing that would cause it.
a) Running->Ready
b) Running->Blocked
c) Blocked->Running
AI is thinking...
6. Define file and directories. Explain about protection mechanism.
AI is thinking...
7. Differentiate between internal and external fragmentation with example.
AI is thinking...
8. What are the segmentation and paging? Why they are combined into one scheme?
AI is thinking...
9. What is DMA. Explain how it works.
AI is thinking...
10. What do you understand by deadlock detection and recovery? Discuss.
AI is thinking...
11. Explain how file allocation table(FAT) manage the files. Mention the merits and demerits of using FAT.
AI is thinking...
12. Write short notes: (Any two)
a) Best
Fit vs Worst Fit
b) Swapping
c) Semaphores
AI is thinking...