![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[多选题]
以下程序执行的结果是()。For i = 1 to 10 step 0n = n + 2Next
A.死循环
B.不进入循环体直接跳出循环继续执行
C.程序报错
D.执行一次循环后跳出循环继续执行
![](https://static.youtibao.com/asksite/comm/h5/images/m_q_a.png)
死循环
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.死循环
B.不进入循环体直接跳出循环继续执行
C.程序报错
D.执行一次循环后跳出循环继续执行
死循环
A.s=10
B.10
C.55
D.s=55
下面程序段的执行结果是()。
int a[] = { 2, 3, 4, 5, 6 };
for (int i = a.length - 1; i >= 0; i--)
System.out.print(a[i] + "");
A.123451234
B.1234512345
C.1234554321
D.123455432
A.369
B.不能通过编译
C.789
D.能编译,但是运行时数组下标越界了
A.是死循环
B.循环执行二次
C.循环执行一次
D.有语法错误
A.数1~10的累加和
B.数1~9的累加和
C.数1~9中的奇数之和
D.数1~10中的偶数之和
A.A,Y
B.65,65
C.65,90
D.65,89
A.x=%2,y=%3
B.x=%%d,y=%%d
C.x=2,y=3
D.x=%d,y=%d
A.小兰小翠
B.小凤小翠
C.小芳小翠
D.程序编码失败