- 当前位置:
- 首页
- 试题
- 系统分析师
- 2017年05月06日系统分析师每日一练
进程P1、P2、P3、P4、P5的前趋图如下。

若用PV操作控制进程并发执行的过程,则需要相应于进程执行过程设置5个信号量S1、S2、S3、S4和S5,且信号量初值都等于零。下图中a处应填写();b和c、d和e处应分别填写(),f、g和h应分别填写()。

A. P(S1)和P(S2) B. V(S1)和V(S2)
C. P(S1)和V(S2) D. P(S2)和V(S1)
A. P(S1)和P(S2)、V(S3)和V(S4)
B. P(S1)和P(S2)、P(S3)和P(S4)
C. V(S1)和V(S2)、P(S3)和P(S4)
D. P(S1)和V(S3)、P(S2)和V(S4)
A. P(S3)V(S4)、V(S5)和P(S5)
B. V(S3)V(S4)、P(S5)和V(S5)
C. P(S3)P(S4)、V(S5)和P(S5)
D. V(S3)P(S4)、P(S5)和V(S5)