OS Papers
OS Papers
Date: 13.05.2016
Instructions:
UNIT 1
1 a Describe different classes of operating system. Differentiate hard and soft real time 10
system.
b Describe the common tasks performed by an OS 6
c A program is in a dormant state if it is not engaged in any activity (it may be waiting for 4
an action by a user).Comment on the validity of the following statement “A dormant
program also consumes resources”.
UNIT 2
2 a Given Given the information in the table below, compute the average turnaround time , 10
average waiting time of the processes also specify the scheduling order of the
processes if HRN and SRN algorithms are used
Processes P1 P2 P3 P4 P5
Arrival time 0 2 3 4 8
Service time 3 3 5 2 3
b Define Paging and Segmentation. Compare 10
i) contiguous and non-contiguous memory allocation
ii)Pre-emptive and non-preemptive scheduling
UNIT 3
3 a What is virtual memory. Explain demand paging with advantages and limitations. 08
b What are the functions of virtual memory manager? 05
c Compare optimal and FIFO page replacement policies for 07
b What are resource deadlocks? Explain the conditions for resource deadlocks. 6
c Explain deadlock detection algorithm. 8
OR
6 a Explain the technique of implementation of message passing in UNIX OS . 10
b Discuss graph models with an example. 10
UNIT 5
7 a Describe Virtual machine operating system 5
b Explain monolithic operating system 5
c Explain the Kernel-based operating system and mechanisms in a kernel 10
*******
U.S.N.
UNIT-1
1. a An OS design demands abstract views. Comment on this statement. State what are 06
Abstract views
OR
2. a What is context switching? Illustrate series of operations involved to realize context 06
switching
b Compare the operations of time sharing operating system with that of distributed 08
operating system.
UNIT-2
3. a Define process. Discuss data structures in process control block. 05
b List advantages of threads. Illustrate working principles and advantages of User level 05
threads.
OR
4. a A process has a state and state transitions in a computer. If so, give reasons for these 05
transitions and highlight responsibilities of OS during these transitions.
b Illustrate a situation where race conditions evolves in the system and propose Solution 05
which has critical section and mutual exclusion.
d For the following processes shown below calculate the turnaround and weighted 05
turnaround time for SRN scheduling policy.
Process P1 P2 P3 P4 P5
Arrival 0 1 3 7 10
time
Service 3 3 2 5 3
time
UNIT-3
5. a Illustrate use of memory hierarchy and memory allocation model in memory 06
management
b List different memory allocators for reuse of memory. Explain operation of powers of 05
two allocator.
UNIT-5
7 a Explain the characteristics and features of distributed operating system. 06
b What are IPC semantics? Discuss the relevance and usage of each of semantics. 06
c Illustrate the working model of Remote Procedure Call paradigm and list steps for 08
Implementing the same.
*******
U.S.N.
UNIT-1
1. a With neat diagram explain round-robin scheduling with time slice (δ) in time sharing 08
operating system with an algorithm.
b With neat diagram explain batch processing system and turnaround time 06
c With diagram explain Monolithic structure operating system and its disadvantages 06
OR
2. a With neat diagram explain kernel based operating system 06
UNIT-2
3. a With diagram explain hybrid thread models 06
b Consider the following process to explain the HRN policy, calculate response ratio, 07
mean of weighted turn-around time and turn-around time. Draw the timing chart
Process P1 P2 P3 P4 P5
Arrival time (sec) 0 2 3 5 9
Service time (sec) 3 3 2 5 3
c Consider the following processes to explain rate monotonic scheduling and write 07
timing chart
Process P1 P2 P3
Time Period (msec) 10 15 30
Service Time(msec) 3 5 9
OR
4. a Define Critical section and explain CS with an example 06
b Define Semaphores and explain producer consumer using semaphores with an 06
example
c Consider the following process to explain the SRN policy, calculate, mean of 08
weighted turn-around time and turn-around time. Draw the timing chart
Process P1 P2 P3 P4 P5
Arrival time (sec) 0 2 3 5 9
Service time (sec) 3 3 2 5 3
UNIT-3
5. a Explain with neat diagram, Stack using an example 06
Memory
1 5
00K 0K
F
3 3
00K 0K
C
4 8
50K 0K
D
6 4
00K 0K
c With neat diagram explain buddy system and power of two allocators 06
UNIT-4
6. a With neat diagram explain layers of the I/O system 06
*******