首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
运行下列程序,显示的结果是 Private Sub Command34_Click() i=0 DO i=i+1 Loop While i<10 MsgBox i End Sub
运行下列程序,显示的结果是 Private Sub Command34_Click() i=0 DO i=i+1 Loop While i<10 MsgBox i End Sub
admin
2018-10-18
24
问题
运行下列程序,显示的结果是
Private Sub Command34_Click()
i=0
DO
i=i+1
Loop While i<10
MsgBox i
End Sub
选项
A、0
B、1
C、10
D、11
答案
C
解析
依据题意可知,当执行完第10次循环体后,此时i的值为10,while的条件为假,所以跳出循环,所以最终的结果为10。
转载请注明原文地址:https://kaotiyun.com/show/r8Mp777K
本试题收录于:
二级Access题库NCRE全国计算机二级分类
0
二级Access
NCRE全国计算机二级
相关试题推荐
下列程序的功能是求方程:x2+y2=1000的所有整数解。请在空白处填入适当的语句,使程序完成指定的功能。PrivateSubCommand1_Click()Dimxasintege,yasintegerFor
如果表A中的一条记录与表B中的多条记录相匹配,且表B中的一条记录与表A中的多条记录相匹配,则表A与表B存在的关系是________。
数据的逻辑结构在计算机存储空间中的存放形式称为数据的()。
在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程:PrivateSubCommand1Click()Dimb,kFork=1to6
如果设置报表上某个文本框的控件来源属性为“=3*2+7”,则预览此报表时,该3框显示信息是()。
下列关于查询设计视图中“设计网格”中行作用的叙述,正确的是()。
若某二叉树的前序遍历访问顺序是abdgcefh,中序遍历访问顺序是dgbaechf,则其后序遍历的结点访问顺序是
在关系模型中,二维表的行称为()。
如果要从列表中选择所需的值,而不想浏览数据表或窗体中的所有记录,或者要一次指定多个准则,即筛选条件,可使用()方法。
一个模块直接调用的其他模块个数称为______。
随机试题
我国《义务教育法》中规定,“省、自治区、直辖市根据本地区的经济、文化发展状况,确定推行义务教育的步骤”,这体现的是义务教育的()
A.破气B.补气C.降气D.纳气E.疏肝
患者,女性,25岁。车祸导致胸部损伤,多根肋骨多处骨折,急诊入院。查体:吸气时,胸壁内陷;呼气时,该区胸壁向外鼓出的原因是()
(2009年)利用络合滴定法测定Mg2+时,要控pH=10,试判断滴定Mg2+时所允许pH=10的依据是()。
在考虑资金时间价值的情况下,()相同的早期收益和晚期收益,其经济价值是不同的。
内存和外存都可以被计算机系统的其他部件直接访问。()
转账凭证与收、付款凭证的相同点在于转账凭证左上角没有设置相关科目。()
下列关于个人信用报告异议的说法中,正确的是()。
舞会上,每个参与者均与舞伴成对参加,舞会结束时,所有参与者均与自己舞伴之外的参与者握手告别。整个告别过程共握手144次,则一共有多少人参加该舞会?
WhatisGeorgeOrwellmainlyknownas?
最新回复
(
0
)