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

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

下列程序执行后,变量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 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=a: a=c: c: d end if if c>b then d=b: b=c: c=d end ifA. 0B.1000C.20D.100 ” 相关考题
考题 用Dim声明的局部变量是动态动态变量,其值在过程执行完后仍保留,而用Stalic声明的局部变量是静态变量,其值在程序执行完后会消失。()

考题 下列程序执行后,变量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

考题 执行下列程序段后,变量c的值为______。a="Visual Basic Programming"b="Quick"c=bUCase(Mid(a,7,6) Right(a,12) )

考题 下列程序执行后,变量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

考题 执行下列程序段后,整型变量C的值为A.537B.2432C.24328D.240328

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

考题 执行以下程序后,变量_______的值等于2。 n=123 a=n//100 b=(n//10)%10 c=n%10A.aB.bC.cD.没有变量的值等于2

考题 11、执行以下程序后,变量_______的值等于2。 n=123 a=n//100 b=(n//10)%10 c=n%10A.aB.bC.cD.没有变量的值等于2