听力原文:W: I think we should take a break. We've been working here for 2 hours.
M: I'd be glad to. I've been working looking through this microscope for 2 days.
Q: Why are they going to stop working?
(14)
A.They have been working at the telescope for two days.
B.They can't find the microscope.
C.They've been working in the laboratory for two hours.
D.They can't fix the microphone.
第1题
以下程序的输出结果是______。 main() { int i,j,x=0; for(i=0;i<2;i++) { x++; for(j=0;j<=3;j++) {if(j%2) continue;x++; } x++; } printf("x=% d\n",x); }
A.x=4
B.x=8
C.x=6
D.x=12
第2题
以下程序的输出结果是()。 #include<iostream.h> void main() {int i, j,x=0; fof (i=0;i<2;i++= {x++; for(j=0;j<3;j++= {if(j%2)continue: x++; x++;} cout<<"x="<<x;=
A.x=4
B.x=8
C.x=6
D.x=12
第3题
以下程序的输出结果是 #include<iostream.h> void main() { int i,j,x=0; for(i=0;i<2;i++) { X++; for(j=0;j<3;j++) { if(j%2)continue; x++;} X++;} cout < < "X=" < < x;}
A.x=4
B.x=8
C.x=6
D.x=12
第4题
以下程序的输出结果是 #include<iostream.h> void main() {int i,j,x=0; for(i=0;i<2;i++) { x++; for(j=0;j<3;j++) { if(j%2)continue; x++;} x++;} cout<< "x="<<x;}
A.x=4
B.x=8
C.x=6
D.x=12
第5题
以下程序运行后的输出结果是【】。main()int p[7]={11,13,14,15,16,17,18};int i=0,j=0;while(i<7&&p[i]%2! =1) j+=p[i++];printf("%d\n",j);}
第6题
有以下程序 main() {int i,j,x=0; for(i=0;i<2;i++) {x++; for(j=0;j<=3;j++) {if(j%2) continue; x++; } x++; } printf("x=%d\n",x); 程序执行后的输出结果是______。
A.x=4
B.x=8
C.x=6
D.x=12
第7题
以下程序的输出结果是()。 #include<iostream.h> void main() {int i,j,x=0; fof(i=0;i<2;i++= {x++; for(j=0:j<3;j++= {if(j%2)continue; x++; x++;} cout<<"x="<<X;=
A.x=4
B.x=8
C.x=6
D.x=12
第8题
试题13
以下程序运行后的输出结果是______.
#include <stdio.h>
main()
{ int n[2], i, j;
for(i=0; i<2;i++) n[i]=0;
for(i=0; i<2; i++)
for(j=0; j<2; j++) n[j]=n[i]+1;
printf(“%d\n”, n[1]);
}
第9题
以下程序运行后的输出结果是______。
main()
{ int i=10,j=0;
do
{j=-j+i;
i--;
}while(i>2);
printf("%d\n",j);
}
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!