更多"[单选题]I would choose not to do that "的相关试题:
[单选题]下列语句序列执行后,i的值是:
1. int i = 10;
2. do { i/=2; } while( i-- > 1 );
A.1
B.5
C.2
D.-1
[单选题]I was so sleepy that I could hardly keep my eyes___yesterday evenin
A.opening
B.open
C.to be opened
D.to open
[单选题]I could the wind blowing on my face
A.felt
B.feel
C.feels
D.to feel
[单选题] I'm taking my driving test tomorroW.
A. Cheers
B. Good luck
C. Come on
D. Congratulations
[单选题]有以下程序
Main()
{ int i=0,s=0;
Do{
If(i%2){i++;continue;}
I++;
S+=i;
} while(i<7);
Printf("%d\n",s);
}
执行后输出的结果是()。
A.16
B.12
C.28
D.21
[单选题]下面程序片段输出的是()
int i = 0, j = 9;
do {
if (i++ > --j)
break;
} while (i < 4);
System.out.println("i = " + i + " and j = " + j);
A.i = 4 and j = 4
B.i = 5 and j = 5
C.i = 5 and j = 4
D.i = 4 and j = 5
[单选题] Hardly had I stepped into my office___the telephone ranG.
A.as
B. when
C. while
D. since
[单选题]I can't pay my bill for these itemS. ________my paycheck comeS.
A.since
B.until
C.because
D. as
[单选题]若变量已正确定义,有以下程序段
I=0;
Do printf("%d, ",i); while(i++);
Printf("%d\n",i);
其输出结果是()。
A.0,0
B.0,1
C.1,1
D.程序进入无限循环
[单选题]I have as----books as you dO.
A.many
B.much
C.so
D.because
[单选题]以下程序代码运行的结果是?
int i=0;
do
{
Console.WriteLine(i);
}while(i++);
Console.WriteLine(i);
A.0,0
B.0,1
C.1,1
D.死循环
[单选题]以下程序“reg1:=2;FOR i FROM 1 to 3 STEP 2 DO reg1:=reg1+2; ENDFOR”的执行结果reg1为( )。
A.2
B.4
C.6
D.8
[填空题] I/O分为开关量输入(DI),开关量输出(DO), ( ),模拟量输出(AO)等模块。
[填空题] I/O分为( ),开关量输出(DO),模拟量输入(AI),模拟量输出(AO)等模块。
[单选题]有以下程序
main()
{int i;
for(i=1;i<=40;i++)
{if(i++%5==0)
if (++i%8==0) printf("%d",i) ;}
printf("\n") ;} 执行后的输出结果是()。
A.5
B.24
C.32
D.40
[单选题]以下程序的输出结果是?
int i;
for(i='a';i<'f';i++,i++)
{
Console.Write((char)(i - 'a' + 'A'));
}
A.ACE
B.BDF
C.ABD
D.CDE
[单选题]下列代码输出结果是()
int i=10;
while(i>0){
i=i+1;
if(i==10){
break;
}
}
A.while循环执行10次
B.死循环
C.循环一次都不执行
D.循环执行一次
[判断题]三相对称负载星形联接的电路中,I线与I相之间的关系是I线=I相。
A.正确
B.错误