Os Merged
Os Merged
Os Merged
Section: A
1. Attempt all questions. (2*10= 20)
Q.No. Questions Marks CO BL
a) Describe operating system services. 2 CO1 K2
b) Differentiate between hard real time system and soft real time system. 2 CO1 K3
c) Discuss the use of mutex. 2 CO2 K2
d) Describe the race condition for cooperating processes. 2 CO2 K2
e) Explain Process Control Block. 2 CO3 K2
f) Compare and contrast single threaded and multithreaded process. 2 CO3 K5
g) Illustrate conditions under which a deadlock condition may arise. 2 CO4 K2
h) Which page replacement algorithm suffers from Belady’s anomaly? 2 CO4 K1
i) What is indexed file access method? 2 CO5 K1
j) Explain logical address space and physical address space diagrammatically. 2 CO5 K2
Section: B
e) Explain the three methods available for allocating disk space. Discuss the pros 10 CO5 K2
and cons in different disk allocation methods.
Section: C
K1 K2 K3 K4 K5
12 14
40
62
42
Checked By
(Head of Department)
www.aktuonline.com
SECTION A
SECTION B
SECTION C
3. Attempt any one part of the following: 10 x 1 = 10
(a) How many type of inter process communication. Discuss producer consumer problem.
(b) Define CPU scheduling. Why do we need scheduling?
What is the average turnaround time for these processes with the preemptive shortest
e.c
om
e.c
in
onl
tu
.ak
w
w
w
://
tp
ht
Printed Page: 1 of 3
Subject Code: KCA203
0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0
MCA
(SEM II) THEORY EXAMINATION 2021-22
OPERATING SYSTEMS
MCA
(SEM II) THEORY EXAMINATION 2021-22
OPERATING SYSTEMS
P1 0 3 2 2
P2 0 2 4 1
P3 2 1 3 2
P4 5 2 2 1
MCA
(SEM II) THEORY EXAMINATION 2021-22
OPERATING SYSTEMS
Then,
I. What will be the content of the Need matrix?
II. Is the system in a safe state? If Yes, then what is the safe
sequence?
III. What will happen if process P1 requests one additional instance
of resource type A and two instances of resource type C?
(b) Apply banker’s algorithm for a system in which, there are three types of 4
resources: E, F and G. Four processes P0, P1, P2 and P3 execute
concurrently. At the outset, the processes have declared their maximum
resource requirements using a matrix named Max as given below. For
example, Max [P2, F] is the maximum number of instances of F that
P2 would require. The number of instances of the resources allocated to
the various processes at any given state is given by a matrix named
Allocation. Consider a state of the system with the Allocation matrix as
shown below, and in which 3 instances of E and 3 instances of F are the
only resources available.