OS Unit 2
OS Unit 2
RAMAPURAM CAMPUS
COLLEGE OF ENGINEERING AND TECHNOLOGY
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
QUESTION BANK
Mark C
Q.No. MCQ Questions BL PI
s O
Answer : a
a)one
2 1 2 2 2.8.4
b) two
c) three
d) four
Answer : b
Answer : b
Answer : c
Answer : c
Answer : a
Answer : a
Answer : c
When high priority task is indirectly preempted by
medium priority task effectively inverting the relative
priority of the two tasks, the scenario is called
__________
a) priority inversion
9 b) priority removal 1 2 2 1.2.2
c) priority exchange
d) priority modification
Answer : a
Answer : c
Answer : c
Answer : b
Answer : b
Answer : b
a) 42
15 b) 2 1 2 1 2.8.4
c) 7
d) 12
Answer : b
Answer : a
Answer : b
Answer : a
Answer a.
21 1 2 1 1.2.2
Which of the following two operations are provided by the IPC facility?
Answer D.
(c) starvation
Answer B.
The segment of code in which the process may change common variables, update tables, write into
(a) program
Answer D.
24 1 2 2 1.2.2
Concurrent access to shared data may result in ____________
Answer B
(a) 0
(b) 1
25 (c) n 1 2 1 2.6.5
(d) -1
Answer :C
Answer C
Multiple processes are permitted to concurrently acquire a reader–writer lock in read mode, but on
Answer C
__________ is a condition in which there is a set of concurrent processes, only one of which is abl
(d) Starvation
Answer C.
a) semaphore
Answer C
a) process, semaphore
30 1 2 2 4.4.3
b) process, monitor
c) semaphore, semaphore
d) monitor, monitor
PART B (4 marks)
16. List out the benefits and challenges of thread handling. 4 2 2 4.4.3