![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
如下程序Do while i<=100:s=s+i: loop运⾏后的输出结果是()。
A.5050
B.5051
C.死循环,⽆输出
D.⽆穷⼤的数
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.5050
B.5051
C.死循环,⽆输出
D.⽆穷⼤的数
A.while(i<=100)
B.while(i<=100)
C.while(i>100)
D.while(i<100)
A.2:4 6 8
B.2:8 6 4
C.3:4 6 8
D.3:8 6 4
A.Sum = 0 : I=1 : Do : Sum=Sum+I : Loop Until I<10 : Print Sum
B.Sum = 0 : I=1 : Do While I<=10 : Sum=Sum+I : I=I+1 : loop : Print Sum
C.Sum = 0 : I=1 : Do : Sum = Sum + 1 : I=I+1 : Loop While I<10 : Print Sum
D.Sum = 0 : For I = 1 To 10 : Sum = Sum + 1 : Next I : Print Sum
A.i = 4 and j = 4
B.i = 5 and j = 5
C.i = 5 and j = 4
D.i = 4 and j = 5
A.87, 45, 36, 17, 22
B.17, 22, 36, 45, 87
C.17, 22, 36, 87, 45
D.87, 45, 17, 36, 22
A.9, 8, 7, 3, 6, 2
B.2, 3, 6, 7, 8, 9
C.2, 3, 6, 9, 8, 7
D.9, 8, 7, 6, 3, 2
A.输入的数据大于10000的时候会出现死循环
B.输入的数据不能被5除尽的时候才会出现死循环
C.输入的数据能被5除尽的时候才会出现死循环
D.输入的数据是任何情况都不会出现死循环
intsearch(NODEa[],intn,intk)
/*在a[0],a[1...a[n-1]中查找关键字等于k的记录,查找成功返回记录的下标,失败
时返回-1*/
{inti=0;
while(i
_①_
if(②)
returni;
elsereturn-1;
①A.k++;
B.i计十;
C.n++;
D.a++;
②A.a[i].key==n
B.a[i].key==k
C.a[n].key==k
D.a[n].key==i
A.①、⑦、③、⑤
B.②、③、⑤、⑦
C.①、⑤、④、③
D.③、④、①、②
______ I accept that he is not perfect, I do actually like the person.
A. Since
B. While
C. Before
D. Unless