What is an Operating System? Why is it known as the resource manager and the extended machine?
What is Kernel? What role does it play in an Operating System? Differentiate between monolithic and micro kernel.
Suppose that a disk has 200 cylinders (0-200). The head pointer is currently at 50 and previously at 35. The queue of pending request, in FIFO order is: 60, 190, 40, 125, 15, and 150. The time required to move per cylinder is 6 msec. Starting from the current head position, what is the total seek time needed to satisfy all the pending request for each of the following disk scheduling algorithms?
a) FCFS
b) SCAN
Define file and directory. Explain the concept of Access Control List (ACL) and Access Control Matrix (ACM).
What is biometric password in authentication? Explain the various system threats.
How distributed operating system is more applicable than centralized operating system? Explain the major goals of distributed operating system.
Write short notes on any TWO :
a) Producer Consumer problem
b) Coalescing and Compaction
c) Ubuntu
Attempt any TWO questions
[2x10=20]What is CPU scheduling? Write down the criteria for CPU scheduling? Consider the following set of processes, with the length of the CPU burst given in milliseconds, draw Gantt chart illustrating their execution and calculate average waiting time and turnaround time using:
a) First Come First Serve
b) Shortest Job First
c) Non-preemptive priority (smaller number implies higher priority)
d) Round Robin (quantum = 1)
| Process | Burst Time (sec) | Priority |
| P0 | 10 | 3 |
| P1 | 1 | 1 |
| P2 | 2 | 5 |
| P3 | 1 | 4 |
| P4 | 5 | 2 |
Define the terms page fault and thrashing. Consider the following page reference string: 1, 3, 5, 1, 7, 1, 5, 5, 1, 4, 2, 7, 6, 3, 4, 1. How many page faults would occur for each of the following page replacement algorithms assuming 3 page frames?
a) FIFO page replacement
b) LRU page replacement
c) Optimal page replacement
Define deadlock. List out the conditions that can result in resource deadlock. Explain different deadlock handling methods in detail.