Describe the four conditions that create deadlock.
[3 marks]Differentiate between single threaded and multithreaded process models.
[4 marks]Consider the following scenario of processes for Round Robin Scheduling with time quantum 2. Process Arrival Time Execution Time P1 0 9 P2 1 P3 2 P4 3 Draw the Gantt chart for the execution of processes, showing their start time and end time. Calculate average turnaround time and average waiting time of the processes. Examine the effect if time quantum is too large and too small.
[4 marks]Describe the two strategies for providing processor resources in a virtual environment.
[3 marks]Describe hardware approaches to mutual exclusion.
[4 marks]Consider a disk queue with I/Orequests of the following cylinders in their arriving order 6,10,12,54,97,73,128,15,44,110,34,45 The disk head is assumed to be at Cylinder 23 and moving in the direction of decreasing number of cylinders. The disk consists of total 150 cylinders. Calculate the disk head movement using SCAN and C -SCAN scheduling algorithm.
[7 marks]Calculate the number of page faults for the following reference string using LRU(Least recently used) page replacement algorithm with frame size as 3.
[7 marks]Describe characteristics of monitor.
[3 marks]Write Peterson’s solution for achieving mutual exclusion.
[4 marks]Write the different states a process can hold. Explain the types of events that lead to each state transition for a process.
[7 marks]Segmentation suffers from internal fragmentation or external fragmentation? Justify.
[3 marks]In a paging scheme,16 bit addresses are used with a page size of 512 bytes. If the logical address is 0000010001111101, how many bits are used for the page number and offset? What will be the physical address, if the frame address corresponding to the computed page number is 15.1
[4 marks]Describe the elements which uniquely characterize a process while program is executing.
[7 marks]Explain how resource allocation graph can depict the deadlock situation?
[3 marks]Explain the handling of multiple non interactive and multiple interactive jobs in case of multiprogramming.
[4 marks]Distinguish between
[7 marks]Static and dynamic allocation of memory (ii) Swapping and paging (iii) Page, frame and segment
[ marks]Describe the two difficulties with the use of equal size fixed partitions.
[3 marks]Explain how input output is managed in virtual environment.
[4 marks]Consider the following scenario of processes with priority. If the scheduling of processes is priority based, Draw the Gantt chart. Calculate turnaround time and waiting time for each process. Also compute average turnaround time and average waiting time for the system. Process Arrival Time Execution Time Priority P1 0 9 P2 1 5 1 P3 2 3 P4 3 4
Describe the function of kernel in operating system.
[3 marks]Give example of Best fit and worst fit memory allocation strategy.
[4 marks]Consider a system with the following information. Determine whether the system is in safe state. If not in safe state, give reasons. If the system is in safe state, find the safe sequence of processes. Consider Need assuming Maximum Allocation. Total Resources(31) Total Resources of R1 type – Total Resources of R2 type – Total Resources of R3 type – Processes Max Alloc R1 R2 R3 R1 R2 R3
[8 marks]Differentiate the preemptive and nonpreemptive scheduling.
[3 marks]Describe Linux VServer architecture.
[4 marks]Discuss the race condition in producer- consumer problem. Discuss the use of semaphore to solve producer-consumer problem. Also Discuss the solution of producer consumer problem with message passing.
[7 marks]