网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
●The construct
cobegin
Statement1;
Statement2;
coend
means Statement1 and Statement2 are to be executed in parallel.The only two atomic actions in this construct are loading the value of a variable and storing into a variable.For the program segment
x=0;y=0;
cobegin
{x=1;y+=x;}
{y=2;x+=3;}
coend
Which of the following indicate(s)possible values for the variables when the segment finishes execution? (74) .
Ⅰ.x=1,y=2
Ⅱ.x=1,y=3
Ⅲ.x=4,y=6
(74) A.Ⅰ
B.Ⅰ,Ⅱ
C.Ⅰ,Ⅲ
D.Ⅱ and Ⅲ
参考答案
更多 “ ●The constructcobeginStatement1;Statement2;coendmeans Statement1 and Statement2 are to be executed in parallel.The only two atomic actions in this construct are loading the value of a variable and storing into a variable.For the program segmentx=0;y=0;cobegin{x=1;y+=x;}{y=2;x+=3;}coendWhich of the following indicate(s)possible values for the variables when the segment finishes execution? (74) .Ⅰ.x=1,y=2Ⅱ.x=1,y=3Ⅲ.x=4,y=6(74) A.ⅠB.Ⅰ,ⅡC.Ⅰ,ⅢD.Ⅱ and Ⅲ ” 相关考题
考题
6The construct cobegin Statement1; Statement2; coend means Statement1 and Statement2 are to be executed in parallel. The only two atomic actions in this construct are loading thevalue of a variable and storing into a variablE.For the program segment x:=0; y:=O; cobegin begin x:=l; y:=y+x; end; begin y:=2; x:=x+3; end coend Which of the following indicate(s) possible values for the variables when the segment finishes execution? Ⅰ.x=1,y=2 Ⅱ.x=1,y=3 Ⅲ.x=4,y=6A.ⅠB.Ⅰ and ⅡC.Ⅰ and ⅢD.Ⅱand Ⅲ
考题
Suppose we have the relation schema R( A, B, C, D)with functional dependencies; F{A→B,B→C,C→D,D→A}, then R(A,B,C,D. at least is in(73).A.1NFB.2NFC.3NFD.BCNFThe construct eobegin Statement1; Statement2; coend means Statement1 and Statement2 are to be executed in parallel. The only two atomic actions in this construct are loading the value of a variable and storing into a variable. For the p
热门标签
最新试卷