单项选择题

<上一题 目录 下一题>
热门 试题

单项选择题
B
单项选择题
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 begin x:=1; 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=6
A.Ⅰ
B.Ⅱ and Ⅲ
C.Ⅰ and Ⅲ
D.Ⅱ and Ⅲ
相关试题
  • B
  • 在SQL语言中,如果要建立一个工资表,包含...
  • 下列命题中为真的是
  • 进程由各个部分组成,下列项目中不属于进程...
  • 在下列代数系统(A,*)中,不是群的为