网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下列程序执行后,变量a的值为 Dim a,b,C,d as single a=100:b=20:c=1000 if b>a Then d=a:a=b:b=d End if if c > a Then d=b:b=c:c=d End if

A.0

B.1000

C.20

D.100


参考答案

更多 “ 下列程序执行后,变量a的值为 Dim a,b,C,d as single a=100:b=20:c=1000 if b>a Then d=a:a=b:b=d End if if c > a Then d=b:b=c:c=d End ifA.0B.1000C.20D.100 ” 相关考题
考题 用Dim声明的局部变量是动态动态变量,其值在过程执行完后仍保留,而用Stalic声明的局部变量是静态变量,其值在程序执行完后会消失。()

考题 执行下列程序后,变量a的值为 ( ) Dim i As Integer Dim a As Integer a=0 For i=l To 100 Step 2 a=a+l Next iA.1B.10C.50D.100

考题 下列程序执行后,变量a的值为______。 dim a, b, c, d as single a=100 b=20 c=1000 if b>a then d=a: a=b: b=d end if if c>a then d=a: a=c: c: d end if if c>b then d=b: b=c: c=d end ifA. 0B.1000C.20D.100

考题 下列程序执行后,变量a的值为( )。 Dim a,b,c,d as single a=100 b=20 c=1000 if b>a Then d=a:a=b:b=d End if if c>a Then d=a:a=c:c=d End if if c>b Then d=b:b=c:c=d End ifA.0B.1000C.20D.100

考题 下列程序执行后,变量x的值为( )。 Dima,b,c,d As Single Dim x As Single a=100 b=20 c=1000 Ifb>a Then d=a:a=b:b=d End If Ifb>c Then X=b Elseif a>c Then x=c Else x=a End IfA.100B.20C.1000D.0

考题 下列程序执行后,变量x的值为______。 Dim a, b, c, d As Single Dim x As Single a=100 b=20 c=1000 If b>a Then d=a: a=b: b=d End If If b>c Then x=b Elseif a>c then x=c Else x=a End IfA.100B.20C.1000D.0

考题 执行下列程序段后,变量s的值是A.100B.500C.2500D.5000

考题 下列程序执行后,变量x的值为()。 Private Sub command1_click() Dim a, b, c, d As Single Dim x As Single a = 100: b = 20: c = 1000 If b > a Then d = a: a = b: b = d End If If b > c Then x = b ElseIf a > c Then x = c Else x = a End If End SubA.100B.20C.1000D.0

考题 5、以下关于Python函数说法错误的是:A.执行该程序后,变量c的值为200B.该函数名称为funcC.执行该程序后,变量b的值为100D.执行该程序后,变量a的值为10