题目内容

Which of the following conditions must be satisfied to solve the critical section problem?

A. Mutual Exclusion
B. Progress
C. Bounded Waiting
D. All of the mentioned

查看答案
更多问题

Mutual exclusion implies that ____________

A. if a process is executing in its critical section, then no other process must be executing in their critical sections
B. if a process is executing in its critical section, then other processes must be executing in their critical sections
C. if a process is executing in its critical section, then all the resources of the system must be blocked until it finishes execution
D. none of the mentioned

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

答案查题题库