—You didn’t come to Mary’s birthday party last night.— It’s a pity that I couldn’t _______ it.

题目
—You didn’t come to Mary’s birthday party last night.— It’s a pity that I couldn’t _______ it.

A.take

B.make

C.do

D.go

参考答案和解析
答案:B
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

以下不能将S所指字符串正确复制到t所指存储空间的是( )。

A.while(*t=*s){t++;s++;)

B.for(i=0;t[i]=s[i];i++);

C.do{*t++=*s++;)while(*s);

D.for(i=0,j=o;t[i++]=s[j++];);


正确答案:C
C项复制时没有复制结束串“\0”。

第2题:

If I hadn’t stood under the ladder to catch you when you fell, you ________ now.

A) wouldn't be smiling              B) couldn’t have smiled

C) won’t smile                    D) didn’t smile

 


A. wouldn't be smiling


你掉下来的时候,要不是我站在梯子下面接住了你,你现在就不会这样笑着了。

说明:这是一个虚拟语气的句子,发生的事情在过去,因此前面用hadn't stood,而后面是与现在相反的,所以用wouldn't be smiling

第3题:

You like playing football, () you?

A、do

B、didn't

C、did

D、don't


参考答案:D

第4题:

下面程序的功能是计算1-3+5-7+ …… -99+101的值。 ① main() { int i,t=1,s=0; for(i=1;i<=101;i+=2) { ① ; s=s+t; ② ; } printf(”%dn”,s}; }

A.t = i * t

B.t = i * (t+1)

C.t = (i+1)* t

D.t = (i-1) * t


b=i+1 b=i+1

第5题:

-- Ann is in hospital.

-- Oh, really? I __ know. I __ go and visit her.

A. didn’t; am going to B. don’t; would

C. don’t; will D. didn't; will


正确答案:D

第6题:

以下不能将s所指字符串正确复制到t所指存储空间的是( )。

A.do{*t++=*8++;}while(*s);

B.for(i=0;t[i]=s[i];i++);

C.while(*t=*s){t++;s++;}

D.for(i=0,j=0;t[i++]=s[j++];);


正确答案:A
do{*t++=}S++;}while(*S);不能因为当*s=’、0。时,while(*s)跳出循环,这样字符串结束标志’、0’没有复制给}t,造成}t不完整。注意,*t++=*s++是先执行t=*s,然后才进行t=t+1,s=s+1。B、C、D都能将。\0’复制过去

第7题:

以下不能将s所指字符串正确复制到t所指存储空间的是( )。

A.while(*t=*s){t++;s++;}

B.for(i=0;t[i]=s[i];i++);

C.do{*t++:*s++;}while(*s);

D.for(i=0,j=0;t[i++]=s[j++];);


正确答案:C
解析:C项复制时没有复制结束串“\0”。

第8题:

--Your phone number again? I _______ quite catch it.

A.don't

B.can't

C.couldn't

D.didn't


参考答案:D

第9题:

如下电路中,t<2s,电流为2A,方向由a流向b;t>2s,电流3A方向由b流向a,参考方向如图所示,则I(t)为()。

A.I(t)=2A,t<2s;I(t)=3A,t>2s
B.I(t)=2A,t<2s;I(t)=-3A,t>2s
C.I(t)=-2A,t<3s;I(t)=3A,t>2s
D.I(t)=-2A,t<2s;I(t)=-3A,t>2s

答案:B
解析:
由题意可知:按图示电流的方向为a→b为正。当t<2s,电流方向与参考方向一致,则I(t)=2A;t>2s时,电流方向与参考方向相反,则I(t)=-3A。

第10题:

以下程序的功能是计算:s=1+12+123+1234+12345 #include<stdio.h> int main() { int t=0,s=0,i; for(i=1;i<=5;i++) {t=i+_____; s=s+t; } printf("s=%dn",s); return 0; }

A.t

B.t+100

C.t+10

D.t*10


C 解析:该程序的运行结果是1.0000,算法错误。在s=s+1/n中,因为n为整型,所以循环中1/n始终为0。这就是本题算法错误的原因。应把s=s+1/n改为s=s+1.0/n。