Os Super-Imp-Tie-22 (1) PDF
Os Super-Imp-Tie-22 (1) PDF
Module-5
Module-3
1. What are the necessary conditions for deadlock? Explain different methods to recover from
deadlock,also mention 4 necessary conditions that arise deadlocks
2. Consider the following snapshot of a system
Find the need matrix and calculate safe sequence using Banker’s Algorithm. Mention the above
system is safe or not safe
3. Assume that there are 5 processes P0 through P4 and 4 types of resources. At time T0 we
have the following state:
If a request for P1 arrives for (1,0,2), can the request be granted immediately?
6. Explain paging and segmentation with diagrams/method of segmentation
7. Illustrate with example, the internal and external fragmentation problem encountered in
continuous memory allocation.
Module-1
1. Define OS with a neat diagram, Explain its dual mode operation also explain the services of
operating system that are helpful for user and the system
2. With a neat diagram, explain the different states of a process and process control block
3. Distinguish between the following items: i) Multiprogramming and multitasking (time sharing)
(ii)Multiprocessor systems and clustered systems
4. Discuss the methods to implement message passing IPC in detail.
5. Explain (i)Microkernels (ii)Multiprocessor systems (iii)Term scheduling (iv)Types of clustering
(v)VM
Module-2
1 0 10 4
2 3 5 2
3 3 6 6
4 5 4 3
Consider larger numbers as the highest priority. Calculate average waiting time and turn
around time and draw Gannt chart for preemptive priority scheduling and preemptive SJF
scheduling
3. Illustrate Peterson's solution for critical section problems and prove that the mutual
exclusion property is preserved.
4. Show how semaphore provides a solution to the reader-writers problem.
5. Explain Dining-Philosophers problem using monitors
6. Consider the five processes arrive at time 0, in the order given, with the length of CPU burst
given in milliseconds
Process Burst time
1 10
2 29
3 3
4 7
5 12
Consider the FCFS, SJF an RR (quantum = 10msec) scheduling, draw the Gantt chart for
each of the scheduling. Determine average waiting time and average turnaround time for all
the 3 scheduling algorithm. Which algorithm would give the minimum
average waiting time?
Module-4