Set 2A
Set 2A
Group A (12*1=12)
Multiple choice questions
2. The Process Control Block (PCB) does not contain which of the following
information?
a) Process state
b) Program counter0
c) Stack pointers
d) OS information
3. Which deadlock handling method involves periodically checking the system for
deadlocks and recovering from them?
a) Deadlock prevention
b) Deadlock avoidance
c) Deadlock detection and recovery
d) Mutual exclusion
6. In a layered operating system, what is the main drawback of having too many layers?
a) Increased system complexity
b) Reduced modularity
c) Higher overhead
d) Difficulty in debugging
8. What does the "Hold and Wait" condition for deadlock imply?
a) Processes must request all required resources at once.
b) A process holds at least one resource and is waiting to acquire additional
resources that are being held by other processes.
c) Resources can be forcibly taken from a process.
d) Processes wait indefinitely for resources.
1. What are functions of the Operating System? Explain the evolution of Operating
Systems. (2+4)
2. Define Inter Process communication. Explain Sleeping Barber Problem.
3. Define Deadlock. What are the conditions that could result in Deadlock in the system.
Explain with necessary examples and diagrams. (2+4)
4. Write short notes on (3*2)
a. Semaphores
b. Multiprogramming and Multi threading
c. Monolithic Operating systems.
Group C (1*20=20)
5. Differentiate Processes and Threads. Explain five state process model. Consider
following process data and compute average waiting time and average turnaround
time for RR(quantum 10) and priority scheduling algorithms. 4+8+8
A 16 0 1
B 37 12 2
C 25 7 3