Download Course:

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Scheduling (computing) wikipedia , lookup

Transcript
Student Registration
No.:
t*
PNR No.:
Course: GSE31
6
:
121g1MOZ9t
CT: p
:OPERAT| NG SYSTEMS
Time Allowed: 1.5 hr.
Max. Marks:50
1. This paper contains S questions divided
in thrce pafts.
2. Paft A is compulsory.
3' From Part B & C taken together (i.e. question 3 to 5) attempt any 2 questions
out of
4. Attempt all parts of the question chosen.
5- The marks assigned to each question arc shown at the end
S.
of each question.
6. Answer all questions in seial order.
Part A
Q1.a) what are the two moders of inter-process comrnunication?
[2 Marks]
b) Differentiate between co-operating and independent processes?
[2 Marks]
c) What is the significance of using semaphores?
[2 Marks]
d) what are the necessary conditions for a deadrock to occur?
[2 Marks]
e) What is meant by an Operating System?
Q2.a) Proqess Burst
Time
[2 Marks]
Arrival time
PI
5
0
P2
3
1
P3
7
3
P4
1
4
lmplement the SJF(preemptive) scheduling algorithm
Draw the Gantt Chart
:
Also calculate the average waiting time.
[5 Marks]
Q2'b) why user mode and kernel mode is considered as good operating
system design? Give an example
that illustrates a user process being switched from user mode to kernel
mode, and then back to user mode.
[5 Marks]
operating
!3')
Expiain in
system provldes different services
cJetait.
o4.)
,:il :"", and to the system. what are these services?
[15 MarksJ
1- Explain the different threading models with suitable diagrams?
(10)
2. What are the benefits of creating threads over process?
(5)
Part
I15 Marksl
G
Q5') How semaphdres provide solution to critical section problem? Also take a suitable
example to show the
use semaphores in sotving
the critical section problem.
-
End of euestion paper
[15 Marks]
_
Page 1 of
1