I ______ see you, but I didn't, for I had no time.

题目
I ______ see you, but I didn't, for I had no time.

A、had wanted to

B、has wanted to

C、wanted

D、was wanted

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

第1题:

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

A.don't

B.can't

C.couldn't

D.didn't


参考答案:D

第2题:

I’d rather you ____ come here to see the film. It’s really long and boring.

A. haven’t

B. don’t

C. didn’t

D. hadn’t


正确答案:C

第3题:

I _____my breakfast at 8, but_____ I lunch yet. .

A. had, haven't had

B. had, didn't have

C. have had, didn't have


参考答案:A

第4题:

-- 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

第5题:

I’d rather you ________ make any comment on the issue for the time being.

A) don’t     B) wouldn’t     C) didn’t            D) shouldn’t    

 


选C
would rather that……"宁愿……",that从句中用过去时表示现在或将来要做的事。

第6题:

I’m meeting Ivan tonight. I ____ a Russian before.

A. didn’t ever meet

B.have never met

C.have ever met

D.never met


答案:B

解析:在时间或条件状语从句中,当表示将来完成的意义时,要用现在完成时来代替将来完成时;故只有have never met和have ever met是现在完成时;原题句意为我今晚要见伊万。我以前从没见过俄国人。故选择B

第7题:

有以下程序: #include<stdio.h> #include<string.h> main( ) { char a[5][10]={"china","beijing","you","tiananmen","welcome"); int i,j;char t[10]; for(i=0;i<4;i++) for(j=i+1;j<5;j++) if(strcmp(a[i],a[j]>O) {strcpy(t,a[i]);strepy(a[i],a[j]);strcpy(a[j],t)}; puts(a[3]); } 程序运行后的输出结果是( )。

A.beijing

B.china

C.welcome

D.tiananmen


正确答案:C
此题涉及数组,字符串的比较和字符串的复制,因为for循环中控制数组中的i和j,即控制了其中的数组中的元素,而stremp是比较字符串的大小,如果stremp(a[i],a[j])>0,则将字符串进行复制,所以答案为C。

第8题:

()you()Jane last month? B: No, I().

A、*/saw/didn’t

B、Did/see/didn’t

C、Did/saw/didn’t

D、id/see/did


答案:C

第9题:

有以下程序

#nclude<stdio.h>

#include<string.h>

main()

{ char a[5][10]={"china","beijing","you","tiananmen","welcome"};

int i,j;char t[10];

for(i=0;i<4;i++)

for(j=i+1;j<5;j++)

if(strcmp(a[i],a[j])>0)

{strcpy(t,a[i]);strcpy(a[i],a[j]);strcpy(a[j],t);}

puts(a[3]);

}

程序运行后的输出结果是

A.beijing

B.china

C.welcome

D.tiananmen


正确答案:C
解析:本题中程序的主要实现的功能是对这个字符数组,对其中的字符串按照首字母的从小到大排序,排完序后a[5][10]为{"beijing","china","tiananmen","welcome","you"},所以a[3]为welcome。

第10题:

试题32

有以下程序

#include <stdio.h>

#include <string.h>

main()

{ char a[5][10]={“china”, “beijing”, “you”, “tiananmen”, “welcome”};

int i,j; char t[10];

for(i=0; i<4; i++)

for(j=i+1; j<5; j++)

if(strcmp(a[i], a[j])>0)

{ strcpy(t, a[i]); strcpy(a[i],a[j]); strcpy(a[j], t);}

puts(a[3]);

}

程序运行后输出结果是()

A.beijing

B.china

C.welcome

D.tiananmen


正确答案:C
试题32分析
strcmp(s1,s2)函数,如果s1>s2,结果大于0;如果s1=s2,结果等于0;如果s1<s2,结果小于0;strcpy(t, a[i])是将a[i]的值复制给t。
for(i=0; i<4; i++)
for(j=i+1; j<5; j++)
if(strcmp(a[i], a[j])>0)
{ strcpy(t, a[i]); strcpy(a[i],a[j]);  strcpy(a[j], t);}是将字符串按第一个字母的顺序进行从小到大的排列。所以最后的顺序为:“beijing”,“china”,“tiananmen”,“welcome”,“you”。
试题32答案
C