X=10:Y=3Print(x*y)/5A.10B.3
C.5D.6
参考答案:D
55.下列程序段的执行结果是(
X=5:Y=5:Z=6
Print"E(";X+Y*Z;")A.E(60)B.E(35)
)。
C.E(X+Y*Z)D.X+Y*Z
参考答案:B
56.以下不正确的单行结构条件语句是()。A.Ifx>yThenPrint“x>y”B.IfxThent=t*x
C.IfxMod3=2Then?x
D.Ifx<0Theny=2*x-1:PrintxEndIf
参考答案:D
57.执行下面语句后,输出结果为()。
A=10:B=30Ifa<bThenPrintA:PrintB
A.10B.30C.10和30
D.30和10
参考答案:D
58.给定程序段
DimaAsInteger,bAsInteger,cAsIntegera=1:b=2:c=3
Ifa=c-bThenPrint"#####"ElsePrint"*****"以上程序()。A.没有输出B.有语法错C.输出#####D.输出*****