![[单项选择题] 下列程序段的执行结果为 a=75 If a > 60 Then Score=1 If a > 70 Then Score=2 If a > 80 Then Score=3 I,第1张 [单项选择题] 下列程序段的执行结果为 a=75 If a > 60 Then Score=1 If a > 70 Then Score=2 If a > 80 Then Score=3 I,第1张](/aiimages/%5B%E5%8D%95%E9%A1%B9%E9%80%89%E6%8B%A9%E9%A2%98%5D+%E4%B8%8B%E5%88%97%E7%A8%8B%E5%BA%8F%E6%AE%B5%E7%9A%84%E6%89%A7%E8%A1%8C%E7%BB%93%E6%9E%9C%E4%B8%BA%E3%80%80%E3%80%80a%3D75%E3%80%80%E3%80%80If+a+%EF%BC%9E+60+Then+Score%3D1%E3%80%80%E3%80%80If+a+%EF%BC%9E+70+Then+Score%3D2%E3%80%80%E3%80%80If+a+%EF%BC%9E+80+Then+Score%3D3%E3%80%80%E3%80%80I.png)
[单项选择题] 下列程序段的执行结果为 a=75 If a > 60 Then Score=1 If a > 70 Then Score=2 If a > 80 Then Score=3 If a > 90 Then Score=4 Print "Score= ";Score
A.Score=1B.Score=2
C.Score=3
D.Score=4
正确答案:B
参考解析:【命题目的】考查考生对条件语句的掌握程度。 【解题要点】如果a>60,则Score=1;如果a>70,则Score=2;如果a>80,则 Score=3;如果a>90,则Score=4;本题的条件是a=75,输出结果应该是Score=2。 【考点链接】块结构条件语句的使用方法。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)