信息量S的P操作P(S)的定义是

admin2017-10-26  30

问题 信息量S的P操作P(S)的定义是

选项 A、S:=S-1
if S<0
then W(S)
B、S:=S-1
if S≤0
then W(S)
C、S=S+1
if S<0
then W(S)
D、S=S+1
if S≤0
then W(S)

答案A

解析 Plrocedure P(Var S:Semaplaore);
begin
S:=S-1;
if S<0 then W(S)
enci;{P}
转载请注明原文地址:https://kaotiyun.com/show/qYkx777K
0

随机试题
最新回复(0)