
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang
【简答题】
C语言中,++i是先[填空1],后[填空2];i--是先[填空3],后[填空4]。
【单选题】
执行语句for(i=1;i++后变量i的值是( )。
【单选题】
若int i=10; 执行下列程序后,变量i的正确结果是( ) switch ( i )
{ case 9: i+=1;
case 10: i+=1;
case 11: i+=1;
default : i+=1; }
【单选题】
执行intj,i=1;j=-i;后j的值是()
【单选题】
执行语句int i = 1, j = ++i; 后i与j的值分别为( )。
【单选题】
下列程序段的循环结构执行后,i的输出值是_______。
Dim y as Integer
For i = 1 To 10 Step 2
y = y + i
Next i
Print i
【单选题】
下述程序的运行结果( )。
#includevoid main()
{
int i;
for(i=1;i+1;i++)
{
if(i4){printf(%d\t,i++);break;}
printf(%d\t,i++);
}
}
【单选题】
以下程序段运行后s的值是()。 int a[3][3]={1, 2, 3, 4, 5, 1, 2, 3, 4} ; int i, j, s=1; for(i=0; i for(j=i+1; j s+=a[i][j];
【单选题】
有以下程序,程序运行以后的输出结果是() #include stdio.h main( ) { int a[ ]={2,3,5,4},i; for(i=0;i switch(i%2) { case 0:switch(a[i]%2) {case 0:a[i]++;break; case 1:a[i]--; }break; case 1:a[i]=0; } for(i=0;i printf(\n); }
【判断题】
for(i=1;i=100;i++)的执行次数为99次
【单选题】
“If anybody ___, please put down ___ name,” said the teacher to the monitor.
①
?wants to buy the book/his
②
?want to buy the book/their
③
?will buy the book/one’s
④
?wants to have the book bought/her
【单选题】
The rich ___ not always happy.
【单选题】
About 60 percent of the students ___ from the south, the rest of them ___ from the north and foreign countries.
【单选题】
Now Tom with his classmates ___ football on the playground.
【单选题】
Comrade Li Dazhao,___ librarian of Beijing University, was one of the founders of the Chinese Communist Party.
【单选题】
At first Bob was puzzled by Virginia s waving, but then it __ his mind that she was trying to tell him something.
【单选题】
If there were no subjunctive mood, English ___ much easier.
【单选题】
The open university was started in order to help those who ___ having a university education when they were young.
【单选题】
If it ___ next week, the crops would be saved.
【判断题】
This material is worn well.