Operating Systems 2072
Section-A
Attempt any two questions: (2x10=20)
AI is thinking...
1. What is race condition? Calculate average waiting and average turnaround time of the given set of processes in table below using SJF and RR scheduling algorithm. [Note: Quantum time for RR=3].
Process id |
Arrival Time |
Execution Time |
A |
0 |
8 |
B |
2 |
14 |
C |
9 |
19 |
D |
19 |
7 |
E |
25 |
15 |
AI is thinking...
2. What is deadlock? Explain various conditions for deadlock. Discuss the Banker’s algorithm of multiple resources for avoidance of deadlock with suitable example.
AI is thinking...
3. How physical address is generated from logical address? Explain the process of system call with suitable diagram.
AI is thinking...
Section-B
Attempt any eight questions: (8x5=20)
AI is thinking...
4. What is an operating system? Differentiate between time sharing and real time operating system.
AI is thinking...
5. How does process differ from program? Explain process state with the help of block diagram.
AI is thinking...
6. Explain how multithreading improves performance over a single threaded solution.
AI is thinking...
7. Describe how Peterson’s solution preserve mutual exclusion in process CR execution.
AI is thinking...
8. Given references to the following pages by a program, 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6. How many page faults will occur if the program has three page frames available to it and uses LRU replacement?
AI is thinking...
9. What is deadlock? State the conditions necessary for deadlock to exist. Give reason, all conditions are necessary.
AI is thinking...
10. What is Fragmentation? Differentiate between internal and external fragmentation.
AI is thinking...
11. How does DMA increase system concurrency? How does it complicate hardware design?
AI is thinking...
12. Write short notes on:
a) Disk formatting
b) Memory
Mapped I/O
AI is thinking...