首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下列程序的执行结果是( )。 Privaae Sub Form_Activate Dim score(3)As Integer,total As Integer Dim aa_score As Variant score(1)
下列程序的执行结果是( )。 Privaae Sub Form_Activate Dim score(3)As Integer,total As Integer Dim aa_score As Variant score(1)
admin
2012-03-22
45
问题
下列程序的执行结果是( )。 Privaae Sub Form_Activate Dim score(3)As Integer,total As Integer Dim aa_score As Variant score(1)=50:score(2)=14:score(3)=36 total=0:i=0 For Each aa_score In score i=i+1 total=total+aa_score Print i,aa_score,total Next End Sub
选项
A、1 0 0 2 50 50 3 14 64 4 36 100
B、1 50 50 2 14 64 3 36 100
C、0 50 50 1 14 64 2 36 100 3 36 100
D、0 0 0 1 50 50 2 14 64
答案
A
解析
转载请注明原文地址:https://kaotiyun.com/show/wLhp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
有如下程序段:if(x>0){System.out.println("first");}elseif(x>-4){System.out.println("second");}else{System.out.println
下列程序输出的结果为( )。publicclassTest{publicstaticvoidmain(String[]args){inta=3,b=4,c=5,d=6,e=7;
在窗体上画一个名称为Drive1的驱动器列表框,一个名称为Dir1的目录列表框。当改变当前驱动器时,目录列表框应该与之同步改变。设置两个控件同步的命令放在一个事件过程中,这个事件过程是
在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程:PrivateSubCommand1_Click()x=InputBox(“Input”)SelectCasexCase1,3
以下叙述中错误的是_________。
软件维护活动包括以下几类:改正性维护、适应性维护、【】维护和预防性维护。
在深度为5的满二叉树中,结点的个数为
在设计程序时,应采纳的原则之一是
下列叙述中,不属于结构化程序设计方法的主要原则的是
测试用例包括输入值集和______值集。
随机试题
贫血的临床表现不取决于
在()阶段,一般只处理施工过程中出现的与工程施工紧密相关的设计变更。
安全生产事故专项应急预案是针对具体的()和应急保障而制定的计划或方案。
某外企部门经理王总,现年40岁,打算在60岁提前退休,但在65岁之前无法领取企业提供的退休金,他希望购买一个年金保单,为退休后、领取企业退休金前的5年时间提供定期给付。此时,他可以购买()
下列关于久期的说法中,正确的有()。
道德的功能是指道德作为社会意识的特殊形态对于社会发展所具有的功效和能力。道德具有多方面的功能,其中居于主要地位的有()
Accordingtocertainbeercommercials,thecontemporaryversionofsuccess【B1】______inmovinguptoapremiumbrandthatcosts
RodmanmetwithTonytotryandsettlethedisputeoverhiscontract.
YouwillhearaninterviewwithGailJarvis,headofAustralianBroadcastingCorporation(ABC)abouttheTVseriesQuantum.Asyou
_______youdidsendyourweeklystatementontheprogressofthebid,itwasstillregretfulthatyoudidnotattendthemeeting
最新回复
(
0
)