Operating System Question Paper
Operating System Question Paper
3 a) Name five major activities of an OS with respect to process management and [8M]
briefly describe why each is required.
b) Write in detail about the thread libraries. [8M]
5 a) What is a Virtual Memory? Discuss the benefits of virtual memory technique. [8M]
b) What is Thrashing? What is the cause of Thrashing? How does the system detect [8M]
Thrashing? What can the system do to eliminate this problem?
6 a) What is a deadlock? Consider the deadlock situation that could occur in the dining [8M]
philosopher’s problem when the philosophers obtain the chopsticks one at a time. Discuss
how the four necessary conditions for deadlock indeed hold in this setting. What are the
solutions for this problem?
b) Explain Deadlock Detection scheme for Several Instances of a resource Type. [8M]
7 a) Explain the three allocation methods in file system implementation. Illustrate with [8M]
proper diagram.
b) What are the objectives of file management systems? Explain the file system [8M]
architecture.
*****
|''|'''||''||'''||||
Code No: RT31055 R13 SET - 2
PART –A
1 a) Write various registers used in computer system. [3M]
b) Identify the situations for preemption of a process. [4M]
c) What are the functions of mutex semaphore? [3M]
d) Write the first ,best fit memory allocation techniques. [4M]
e) What are different conditions used in Banker’s algorithm. [4M]
f) Define boot block. How it initiated from disk? [4M]
PART -B
2 a) What are the functionalities of operating system? Explain in detail. [8M]
b) Write about monolithic kernel, layered, and microkernel structures of [8M]
operating systems.
3 a) Process Arrival Burst [8M]
Time Time
1 0 3
2 2 6
3 4 4
4 6 5
5 8 2
Perform non preemptive CPU scheduling algorithms on the given snapshot
and analyze their performance.
b) Write about i) Process Control Block ii) CPU scheduling algorithm [8M]
evaluation.
5 a) Explain different structures and page tables with strengths and weaknesses. [8M]
1 of 2
|''|'''||''||'''||||
Code No: RT31055 R13 SET - 2
6 a) In what way resource allocation graphs are used for detection of deadlocks? [8M]
Write the algorithm.
b) Explain the different techniques to recover the system from deadlock. [8M]
7 a) Write the role of sector sparing in identifying the bad blocks of mass storage. [8M]
What are the other techniques available for this?
b) Discuss in detail the file allocation techniques : sequential, indexed and [8M]
linked.
*****
2 of 2
|''|'''||''||'''||||
Code No: RT31055 R13 SET - 3
PART –A
1 a) What are the various security issues that arise in multiprogramming and [3M]
timeshared systems?
b) Write the benefits of multithreaded programming. [3M]
c) Give the Peterson’s solution to the Critical section problem. [4M]
d) Explain why sharing a reentrant module is easier, when segmentation is used than [4M]
when pure paging is used.
e) Write about Resource-Allocation graph. [4M]
f) Briefly explain the indexed allocation method. [4M]
PART -B
2 a) Differentiate protection and security. [4M]
b) Explain the features of a distributed operating system. [8M]
c) Explain models of distributed systems. [4M]
3 a) Explain the actions taken by a thread library to context-switch between user level [8M]
threads.
b) What is a Scheduler? Explain different CPU Schedulers. [8M]
4 a) What is a semaphore? List the types of semaphores and Show that, if the wait() [8M]
and signal() semaphore operations are not executed atomically, then mutual
exclusion may be violated.
b) How to implement process synchronization using i)Test and Set ii) SWAP iii) [8M]
Lock instructions? Explain with Pseudo code.
b) Write about Least Recently Used page replacement algorithm all its variants [8M]
with an example.
*****
|''|'''||''||'''||||
Code No: RT31055 R13 SET - 4
4 a) By illustrating the structure of process P1, explain the Petersons solution to critical [8M]
section problem.
b) State the Critical Section problem. Illustrate the software based solution to the [8M]
Critical Section problem.
*****
|''|'''||''||'''||||