法语专业四级

单选题On éprouve une peine extrême à extirper certains défauts; souvent si l’on s’y était opposé _____, on les aurait déracinés facilement.A plutôtB plus tardC tardD plus tôt

题目
单选题
On éprouve une peine extrême à extirper certains défauts; souvent si l’on s’y était opposé _____, on les aurait déracinés facilement.
A

plutôt

B

plus tard

C

tard

D

plus tôt

参考答案和解析
正确答案: A
解析:
句意:我们在根除某些缺点的时候会感受到很大的困难,所以我们越早反抗它,就越容易把它根除。plutôt宁可,宁愿。plus tôt越早。故选D。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

If you don not side with me,__________.

A.neither will they

B.so they won’t neither

C.neither they will

D.so won’t they


正确答案:A

第2题:

There are so many people in the hall _______ it's hard for me to find her.

A.because

B.that

C.for

D.why


参考答案:B

第3题:

As I felt so much better, my doctor () me to take a holiday by the sea.

A、suggested

B、considered

C、advised

D、inquired


参考答案:C

第4题:

What puzzles me is why his books are so popular.

A:shocks
B:influences
C:confuses
D:concerns

答案:C
解析:
本句意思:使我迷惑的是,为什么他的书如此畅销。puzzle的意思是“使迷惑,使难解”, 与confuse意思相近:shock震惊;influence影响;concern使担忧。

第5题:

阅读以下说明,将应填入(n)处的字句写在答卷纸的对应栏内。

【说明】

下面的程序为堆排序程序,其中函数adjust(i,n)是把以R[i](1≤i≤┕i/2┙)为根的二叉树调整成堆的函数,假定R[i]的左、右子树已经是堆,程序中的,是在主函数中说明的结构数组,它含有要排序的n个记录。

【程序】

Void adjust(i,n)

Int i,n;

{

iht k,j;

element extr;

extr=r[i];

k=i;

j=2*i;

while (j<=n )

{if ((j<n) && (r[j].key<r[j+1].key))

(1);

if (extr. key<r[j].key)

{

r[k]=r[j];

k=j;

(2);

}

else

(3);

}

r[k]=extr;

}

/*让i从┗i/2┛逐步减到1, 反复调用函数adjust, 便完成建立初始堆的过程。*/

void heapsort (r,n)

list r;

int n;

{

int i,1;

element extr;

for (i=n/2;i>=1;- -i)

(4); /* 建立初始堆*/

for (k--n;k>=2;k- -)

{

extr=r[1];

r[1]=r[k];

r[k]=extr;

(5);

}

}


正确答案:(1)j++ (2)j*=2或j=k*2 (3)j=n+1或break (4)adjust(in) (5)adjust(1k-1)
(1)j++ (2)j*=2或j=k*2 (3)j=n+1或break (4)adjust(i,n) (5)adjust(1,k-1) 解析:函数adjust(i,n)是把以R[i](1≤i≤┗i/2┛)为根的二叉树调整成堆的函数,假定R[i]的左、右子树已经是堆,程序中的r是在主函数中说明的结构数组,它含有要排序的n个记录。
Void adjust(i,n)
Int i,n;
{
int k,j;
element extr;
extr=r[i];
k=i;
j=2*i;
while(j=n)
{if((jn)&&(r[j].keyr[j+ 1].key))
j++;
if(extr.keyr[j].key)
{
r[k]=r[j];
k=j;
j*=2;
}
else
j=n+1;
}
r[k]=extr;
}
/* 让i从┗i/2 ┛逐步减到1, 反复调用函数adjust, 便完成建立初始堆的过程。堆排序程序heapsort 如下*/
void heapsort(r,n)
list r;
int n;
{
int i,l;
element extr;
for (i=n/2;i>= 1 ;--i)
adjust(i,n); /*建立初始堆*/
for(k=n;k>=2;k--)
{
extr=r[1];
r[1]=r[k];
r[k]=extr;
adjust(1,k-1);
}
}
函数heapsoff的第一个for循环建立初始化。没待排序的n个记录组成—棵深度为h的完全二叉树,因此有2h-1n≤2h+1-1,即2h≤n2h+1。完全二叉树的第i层(设根结点的层次为0)上最多有2i个结点,对每个非叶结点,都要调用过程adjust,同时可能移动结点(向下移动),第i层上的结点可能要移动的最大距离为h-i,若设向下移动一层花费的时间为c,则第i层2i个结点调整的时间最多为c*(h-i)*2i建立初始堆的全部时间应是:
令j=h-1,则i=h-j,所以有:
对第二个for循环,调用adjust函数n-1次,每次总是由根向下调整,调整的最大距离为log2n(实际上,调整的距离是逐渐变小的),所以总的时间不多于c*(n-1)log2n=O(log2n).堆排序总的时间为:
O(n)+O(nlog2n)=O(max(n,n log2n))=O(n log2n)
算法需要的存储空间是存储n个记录的数组以及少量暂存单元。
堆排序算法是不稳定的。

第6题:

-I like watching TV very much.-________.

A.I do so.

B.Me, too.

C.So I do.

D.Me, either.


参考答案:B

第7题:

- Hi, Joe. Haven't seen you for ages! How'severything going?- ().

A、Just so-so.

B、Me, too.

C、You are welcome.

D、Oh, my God


参考答案:A

第8题:

—So how is your new roommate?—She really (). She’s always making loud noises at midnight and when I remind her, she always makes rude remarks.

A、turns me over

B、turns me down

C、turns me off

D、turns me out


参考答案:C

第9题:

What puzzles me is why his books are so popular.

A:.shocks
B: confuses
C: influences
D: concerns

答案:B
解析:
题干意为“使我疑惑的是,为什么他的书如此受欢迎。” 句中划线词意为“使人迷惑”。B项confuses意为“使困惑”;例句:They confused me by their conflicting advice.他们的建议相互矛盾,把我弄糊涂了。A项意为“使人震惊”;C项意为“影响”;D项意为“关系到;关心”;故选B。

第10题:

Thank you ever so much for the coat you bought me()

ANo thanks

BI'm glad you like it

CPlease don't say so

DNo, it's not so good


B

更多相关问题