首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
The construct Cobegin Statement1; Statement2; Coend means Statement1 and Statement2 are to be executed in
The construct Cobegin Statement1; Statement2; Coend means Statement1 and Statement2 are to be executed in
admin
2009-02-24
13
问题
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 Ⅲ
答案
D
解析
转载请注明原文地址:https://kaotiyun.com/show/1hNZ777K
0
笔试
原NCRE全国计算机四级
NCRE全国计算机四级
相关试题推荐
在Windows操作系统中,与Web访问无关的组件是__________________。
Routersperformthedecisionprocessthatselectswhatpathapackettakes.These(71)layerdevicesparticipateinthecollection
某班级学生《C++程序设计》成绩表如下图所示。若学生作业成绩、上机成绩和笔试成绩分别占综合成绩的15%、25%和60%,那么可先在E3单元格中输入(1),再向垂直方向拖动填充柄至E10单元格,则可自动算出这些学生的综合成绩。若要将及格和不及格
某公司申请了一个B类地址块128.10.0.0/16,公司网络要划分为8个子网,这时子网掩码应该是___________(33),下面列出的4个网络地址中,属于广播地址的是___________(34)。(34)
透明网桥的基本功能有学习、帧过滤和帧转发及生成树算法等功能,因此它可以决定网络中的路由,而网络中的各个站点均不负责路由选择。网桥从其某一端口收到正确的数据帧后,在其地址转发表中查找该帧要到达的目的站,若查找不到,则会(39);若要到达的目的站仍然在该端口上
某些操作系统把一条命令的执行结果输出给下一条命令,作为它的输入,并加以处理,这种机制称为(20);使命令的执行结果不在屏幕上显示,而引向另一个文件,这种机制称为(21);使命令所需要的处理信息不从键盘接收,而取自另一个文件,这种机制称为(22);操作系统不
关于电子商务,以下______说法是不正确的。
()是使用电容存储信息且需要周期性地进行刷新的存储器。
若操作数“00000101”与“00000101”执行逻辑(1)操作后,运算结果应为“00000000”。
阅读以下说明和c函数,将应填入(n)处的字句写在答题纸的对应栏内。【说明1】函数Counter(intn,intw[])的功能是计算整数n的二进制表示形式中1的个数,同时用数组w记录该二进制数中1所在位置的权。例如,十进制数22的二进制表示
随机试题
LifeCanBeHappyandMeaningfulNotlongago,apollwasconductedamongstudentsinamiddlesch001.Theywereaskedtomak
肠结核常见部位是
哮喘患者痰中通常不能见到
A.法律B.行政法规C.地方性法规D.部门规章《吉林省药品监督管理条例》属于()
图示结构在外力作用下,弯矩图正确的是()。
在进行文档选择时,按()键的同时拖动鼠标可选择一个矩形。
P公司2015年10月1日取得S公司80%股份,能够控制S公司的生产经营决策。2016年P公司实现净利润1000万元,S公司按购买日公允价值持续计算的净利润为200万元。2016年3月1日,S公司向P公司出售一批存货,成本为80万元,未计提存货跌价准备,售
我国货币政策的最终目标是()
(2019年真题)根据《礼记·王制》的记载,商朝对“乱政”和“疑众”均处以“杀”。下列行为中,属于“乱政”的是()。
下面程序的输出结果为______。#include<string.h>main(){charP[17]="abc"="ABC".STR[50]="xyz";strcpy(str
最新回复
(
0
)