Professional Documents
Culture Documents
Question 6 Q:
Answer saved
Marked out of
1.00
The code for P10 is identical except that it uses V(mutex) in place of P(mutex) What is the largest number of processes that can be
inside the critical section at any moment?
Select one:
a. 1
b. 2
c. 3
d. None of these
Clear my choice
Question 7 Q:Consider three CPU-intensive processes which require 10, 20 and 30 time units and arrive at times 0, 2 and 6, respectively. How
Answer saved many context switches are needed if the operating system implements a shortest remaining time first scheduling algorithm Do not
Marked out of count the context switches at time zero and at the end?
1.00
Select one:
a. 4
b. 1
c. 2
d. 3
Clear my choice
Question 8 Q:Which of the following is FALSE about SJF S1:It causes minimum average waiting time.S2: It can cause Starvation?
Answer saved
b. Both S1 and S2
c. Neither S1 nor S2
d. Only S1
Clear my choice
Question 9 Q:
Answer saved
Marked out of
1.00
Select one:
a. (IV) only
b. (I) only
Clear my choice
Clear my choice