下列程序段的输出结果是 ACCEPT TO A IF A=[123456] S=0 ENDIF S=1 ?S RETURN
A.0
B.1
C.由A的值决定
D.程序出错
A.0
B.1
C.由A的值决定
D.程序出错
第1题
A.-1
B.0
C.1
D.2
第2题
A.2,1,1
B.1,2,1
C.2,2,2
D.2,2,1
第3题
A.〞cdxyzw〞
B.〞cdefxy〞
C.〞cdefgh〞
D.〞cdefef〞
第5题
A.The result is:16 The result is:8.0
B.The result is:8.0 The result is:16
C.The result is:8 The result is:16.0
D.The result is:16.0 The result is:8
第6题
A.Thank you. I’ll have fried tofu and stir-fried cauliflower.
B.Sorry. I don’t need your help, thank you.
C.If you want to help me, I’ll be glad to accept it.
D.Yes, please. I’d like a hamburger and a chocolate shake.
第7题
A.10
B.30
C.1030
D.3010
第8题
A.程序的输出结果为大写字母A
B.程序的输出结果为小写字母a
C.运行时产生错误信息
D.格式说明符的个数少于输出项的个数,编译出错
第9题
B.String A=“firstJava”;A+=“Java”
C.Integer J=new Integer(27);J-=7
D.Integer J=new Integer(27);J--