Professional Documents
Culture Documents
USN
~.
00
~fi
/Q
d'
:c~
~
"
=~
2 +
E
= "0
il
=
-5
= C
betwee;'~'?J
-o~ -.e"
0
O ~
~f~~
.....
";. ~
i)
ii)
c. Describe. theJtct ions an operating system takes to context switch ber( en proce sses.
11
~ 'e
~~
5-11
~;;:
.s ~
-0
~u
g'h
a. E
Dining-Philosopher' s problem using monitors.
/(..
b. .f"\..
What is race condition? Explain Reader' s writer' s problem with semaphores.?
0'"
4 Ca. For the following snapshot find the safe sequence using Banker' s algorit hm:
...\
The number of resource units are Rr , R2, R3 which are 7, 7, 10 respectively.
11~
~ .~~
~~
...; .-.i
(04 Marks)
(10 Marks)
(10 Marks)
-Q
~Q-
VA
AJ
(06 Marks)
(06 Marks)
Dead lock exists if a cycle exists. Yes or no. Justify your answer with a suitable example.
(08 Marks)
lof 2
c.
8.
(08 Ma rks)
"
~~
(06 M"ks)
.E-~
~.
<1>
a. Differentiate
-,
i)
Process and a threa<l.(':)
~
ii} Short term and mediumf~5P1 schedules~ ~
iii) User level and kemel levl1 ~ilds.
iv) Waiting and tum around ti 01e;"
'/' . "
b. Consider the following set ofproces ie' ~it h arrival time:
~ ~
"
: .9
,~
<:,
PART-A
,,~
,,-<0
.(;j~
0:..':5
~.lI
Max. Mar~ 0
' me : 3 hrs.
8. '"
~
lOeSS3
lOeSS3
PAR T - B
Why are translation loan-aside bubbles (TLB) important? In a simple paging system. what
information is stored in TLB ? Explain.
(08 Marks)
b. Given memory partitions of lOOK. 500K. 200K, 300K and 6OOK, apply first fit and best fn
algorithm to place 212K, 417K. 112K and 426K.
(04 Mnk
What is swapping? Does this increase the operating systems overhead? Justify your answer.
a.
c.
"
c:,
1>1000)
~qjtlO Marks)
(05 Marks)
(OS Mar-ks)
scheme of capability
(10 Marks)
('l,\
'"
<,\CP,
~V 7.
.'1..
6'~
(10 Mar-ks)
(08 Marks)
(06 Marks)
(06 Marks)