首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
Which of the following indicate(s)possible values for the variables when the segment finishes execution?(74). Ⅰ. x=1,y=2
Which of the following indicate(s)possible values for the variables when the segment finishes execution?(74). Ⅰ. x=1,y=2
admin
2009-02-15
67
问题
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
选项
A、Ⅰ
B、Ⅰ,Ⅱ
C、Ⅰ, Ⅲ
D、ⅡandⅢ
答案
D
解析
译文:结构
Cobegin
Statement1;
Statement2;
Coend
的含义是语句1和语句2并行执行。结构中的两个原子操作是加载一个变量的值和存储一个变量的值。
【程序段】
x=0;y=0;
cobegin
{x=1;y+=x;}
{y=2;x+=3;}
coend
执行后,变量的值可能是哪个?
先执行第二句再执行第一句,结果是Ⅱ,否则结果是Ⅲ。
转载请注明原文地址:https://kaotiyun.com/show/jCjZ777K
本试题收录于:
程序员上午基础知识考试题库软考初级分类
0
程序员上午基础知识考试
软考初级
相关试题推荐
请说出网络病毒特点及危害性主要表现?怎么防止此病毒的入侵?
从以下备选答案中为程序(1)~(4)处空缺选择正确答案,并填入对应的解答栏内。(1)~(4)备选答案:(1)A.openB.runC.executeD.Dim(2)A.openB.r
请为图2-27拓扑结构中,(1)~(5)空缺处选择对应的设备名称。备选设备为:CMTS、以太网交换机、光收发器、光电转换节点、CableModem。HFC是采用(8)制方式通过宽带同轴电缆向用户提供宽带业务。CableModem接收从CMT
当前最为常用的电信租用线路有哪些?广域网互联地址范围82.1.43.0/255.255.255.0,为了节约地址(互连地址),实现两个路由器广域网端口互连的最少网络地址是多少个,掩码是多少?
阅读下面的说明,回答问题1~问题4,将解答填入答题纸对应的解答栏内。[说明]阅读以下说明,回答问题1~问题4,将解答填入答题纸对应的解答栏内。windowsServer2003是一个多任务多用户的操作系统,能够以集中或分布的
请根据图6-15网页的显示效果,解释该ASP程序中用下画线标出的语句的含义,即填写(1)、(3)、(4)、(6)、(10)空缺处的解释内容。请根据图6-15网页的显示效果,将ASP程序中(2)、(5)、(7)、(8)、(9)空缺处的代码补充完整。
The(67)controls the cursor or pointer on the screen and allows the user to access commands by pointing and clicking.
In the following essay, each blank has four choices. Choose the most suitable one from the four choices and write down in the an
There is free firewall software available that can run on minimal hardware and provide a good level of(71)to your network.
The(74)has several major components, including the system kernel, a memory management system, the file system manager, device dr
随机试题
DearWorld,Aboystartsschooltoday.It’sgoingtobestrangeandnewtohimforawhile.AndIwishyouwouldsortoftre
A.意识障碍伴发热B.意识障碍伴呼吸缓慢C.意识障碍伴心动过缓D.意识障碍伴高血压E.意识障碍伴两眼向一侧凝视房宣传导阻滞
化脓性脑膜炎最可靠的诊断依据是
下列关于地陪的工作中,属于旅游团离店前应做好的工作是()。
标题版式设计的内容包括()等。
当前,很多在校大学生都配有电脑,这让很多家长都很担心。在家长看来,电脑是用来查阅资料的,但也可以上网玩游戏,影响孩子的学业,不过最新的一项研究表示,电脑可以提升大学生的学业成绩,因为电脑上的学习网络可以提供大量的相关专业资料。以下哪项如果为真,最不能支持上
咖喱饭
Youwillhearaninterviewaboutajobinterview.Foreachquestion(23-30),markoneletter(A,BorC)forthecorrectanswer
Thestaff,havingfinishedworkfortheday,______goinghomenow.
______humanbehaviormaybecausedbyeatingsubstancesthatupsetthedelicatechemicalbalanceinthebrain.
最新回复
(
0
)