问题 单项选择题

栈和队列的共同特点是

A.都是先进先出

B.都是先进后出

C.只允许在端点处插入和删除元素

D.没有共同点

答案

参考答案:C

解析: 栈和队列都是一种特殊的操作受限的线性表,只允许在端点处进行插入和删除。二者的区别是:栈只允许在表的一端进行插入或删除操作,是一种“后进先出”的线性表;而队列只允许在表的一端进行插入操作,在另一端进行删除操作,是一种“先进先出”的线性表。

完形填空

五、填词完成对话

--Have you a  76 for the job?                                                                      76       

--yes, it’s acknowledged that the job is the m 77 difficult to get,                77        

But I’ll try my best.                                                              

--W 78 ,You are always possessed of much sense.                                    78        

I’m sure you’ll get it, You’ve a 79  a  knowledge of French.               79       

--Of course, I’m full of c 80 . By the way, there will be a party                     80       

on my home at 7:00 pm on Sunday, would you like to come?                                                    

---Thanks, I’ll be p 81  for the party, How are your sisters, Kate and Jane?  81       

---Kate is busy p  82  for the test while Jane is busy with her essay.          82      

She has made a draft. And I expressed my s  83 with their               83      

Work, but it still needs a lot of work                                                           

--Oh, have you i 84 Jim to your party?                                                    84      

---He said he couldn’t come, but he a 85 my invitation.                                   85      

---Ok, see you then

---See you.

判断题