问题

●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 Ⅲ

参考答案
您可能感兴趣的试题
  • ●when a string constant is written in C program,the compiler creates (75) of characters containing t
  • ●试题一根据下面给出的一个VLAN的实例,回答问题。某IT公司现有行政部、技术部、市场部。VLAN的划分:行政部VLAN10,技术部VLAN20,市场部VLAN30,各部门之间还可以相互通讯。现有设备
  • ●试题二[说明]请回答下面有关Linux操作系统的问题。[问题1]安装Linux之前需要知道哪些必要的数据信息?[问题2]Linux有哪几类命令?[问题3]Linux的网络管理包括哪些方面?[问题4]
  • ●试题三叙述Apache web server的安装与配置。
  • ●试题四请回答以下关于网站开发使用和操作的问题1~5,把答案填到答题纸的对应栏内[问题1]Web页面的规划有哪些原则?[问题2]Web页面的组织形式有哪几种?[问题3]Web网站的设计过程有哪几个阶段
  • ●试题五阅读以下有关传统局域网络运行和维护的叙述,将应填入(n)处的字句写在答题纸的对应栏内。在对网络运行及维护前首先要了解网络,包括识别网络对象的硬件情况、判别局域网的拓扑结构和信道访问方式、确定网