问题 单项选择题

下列关于栈的叙述正确的是

A.在栈中只能插入数据

B.在栈中只能删除数据

C.栈是先进先出的线性表

D.栈是先进后出的线性表

答案

参考答案:D

解析: 栈是一种特殊的线性表,其插入与删除运算都只在线性表的一端进行。在这种线性表的结构中,一端封闭,不允许插入与删除元素;另一端开口,允许插入与删除元素。
在栈中不仅能插入数据,也能删除数据,选项A与B都错。栈是后进先出的线性表,而不是先进先出的线性表,选项C的说法错误,选项D正确。

阅读理解

It’s Saturday. Han Ling has no classes today. She wants to buy a new dress. Her mother is at work, so she is going to the shop with her father. They go there by car. But her father doesn’t like going shopping, so Han Ling does the shopping and her father sits in the car and waits for her.

There are a lot of people in the shop. It is very crowded. Han Ling looks at the clothes and chooses from them. Her father waits and waits. About an hour goes by(流逝),Han Ling doesn’t come out. Her father is worried about her. “Why does she stay in the shop for so long?” He comes out of the car. Just then(正在这时), a man comes up to him. “Excuse me,are you Han Ling’s father? ” “ Yes.” “ Han Ling is wating for you. She doesn’t have enough money.” “ Oh, I see.”

Then he follows(跟随) the man into the shop. Han Ling is very happy to see her father. She chooses a nice green dress. After her father pays the money, they go home together.

请根据短文内容,回答下列问题:

小题1:Who does Han Ling go shopping with?

                                                           

小题2:What does Han Ling’s father do when she does the shopping?

                                                            

小题3:Why does Han Ling do shopping for a long time?

                                                            

小题4:Why is Han Ling happy when she sees her father?

                                                            

小题5:What does Han Ling choose?

                                                            

单项选择题