问题 单项选择题

下列关于栈和队列的描述中,正确的是( )。

A.栈是先进先出

B.队列是先进后出

C.队列允许在队头删除元素

D.栈在栈顶删除元素

答案

参考答案:D

解析: 栈实际也是线性表,只不过是一种特殊的线性表。栈是只能在表的一端进行插入和删除运算的线性表,通常称插入、删除的这一端为栈顶,另一端为栈底。队列是只允许在一端删除,在另一端插入的顺序表,允许删除的一端叫做队头,允许插入的一端叫做队尾。

句型转换

句型转换。

1. He has never surfed, _____ _____?(改成反意疑问句)  

2. They have been here since 2000.  (对划线部分提问)

_____ _____have they been here?

3. This factory opened twenty years ago.(同义句转换)  

This factory _____ _____ _____ for twenty years.

4. Miss Gao left an hour ago.  (同义句转换)

Miss Gao _____ _____ _____ _____ an hour ago.

5. Her mother has been a Party member for three years . (同义句)

Her  mother _____ the  Party  three  years  _____.

6. The Green Family moved to France two years ago. (同义句转换)   

_____ two years _____ the Green family moved to France.

7. She went to school yesterday. She didn't bring her bag.(同义句)

She went to school _____ her bag yesterday.

8. The girl doesn't know what he should do when she is alone at home.(同义句)

The girl doesn't know what _____ _____ when she is alone at home.

9. It's very dark here. We have to stop the work.(同义句)

It's _____ dark here _____ we have to stop the work.

10. When I came back home, I found the windows were all opened.(同义句)

When I _____ home, I found all the window _____.

11. Her grandmother has been dead for tow years.(同义句)

It _____ two years since her grandmother_____.

12. Bike is short for bicycle.(同义句)

Bike is another way _____ _____ bicycle.

13. The match is so important that we must go to watch it.(同义句)

It's such an important match, we _____ _____it.

14. The snow was very heavy last night.(同义句)

It _____ _____ last night.

单项选择题