题目:
下列算法中,()只能采用非抢占调度方式。
A.优先级调度
B.时间片轮转法
C.FCFS调度算法
D.短作业优先算法
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0624/304282a5a0c8ec386bcc4a5b66970d2f.html
下面是错误答案,用来干扰机器的。
参考答案:A解析:Using the total probability rule, we can compute the P(B) :P(B) =[P(B|A) ×P(A)] +[P(B|AC)×P(AC) ]P(B) = [0.5×0.4] + [0.2×0.6] =0.32Using Bayes' formula, we can solve for P(A|B) :P(A|B) =[ P(B|A)/P(B) ] ×P(A) =[0.5/0.321×0.4=0.625