题目内容

Bounded waiting implies that there exists a bound on the number of times a process is allowed to enter its critical section ____________

A. after a process has made a request to enter its critical section and before the request is granted
B. when another process is in its critical section
C. before a process has made a request to enter its critical section
D. none of the mentioned

查看答案
更多问题

An un-interruptible unit is known as ____________

A. single
B. atomic
C. static
D. none of the mentioned

Each process Pi, i = 0,1,2,3,……,9 is coded as followsThe code for P10 is identical except that it uses V(mutex) instead of P(mutex). What is the largest number of processes that can be inside the critical section at any moment (the mutex being initialized to 1)?

A. 1
B. 2
C. 3
D. None of the mentioned

The following program consists of 3 concurrent processes and 3 binary semaphores. The semaphores are initialized as S0 = 1, S1 = 0, S2 = 0.How many times will P0 print ‘0’?

At least twice
B. Exactly twice
C. Exactly thrice
D. Exactly once

The code that changes the value of the semaphore is ____________

A. remainder section code
B. non – critical section code
C. critical section code
D. none of the mentioned

答案查题题库