OS unit 2_Question Bank (1)
OS unit 2_Question Bank (1)
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
Mutex is short for ------
a)Mutual Excluded
b) mutually explained
4 c) mutual exclusion 1 2 1 2.7.1
d) mutual exception
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.
Which of the following two operations are provided by the IPC facility?
21 (a) Write & delete message 1 2 1 1.2.2
Answer D.
(c) starvation
Answer B.
The segment of code in which the process may change common variables, update tables, write in
(a) program
Answer D.
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 o
Answer C
__________ is a condition in which there is a set of concurrent processes, only one of which is ab
(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