问题 单项选择题

栈和队列的共同点是______。

A.都是先进后出

B.都是先进先出

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

D.没有共同点

答案

参考答案:C

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

单项选择题

A


"In only six clays I lost seven pounds of weight. "
"Two full inches in the first three days!"
These are the kinds of statements used in magazine, newspaper, radio and television ads. , promising new shapes and new looks to those who buy the medicine or the device. The promoters of products say they can shape the legs, slim the face, smooth wrinkles, or in some other ways to add to beauty or desirability.
Often such products are nothing more than money-making things for their promoters. The results they produce are questionable, and some are dangerous to health.
To understand how these products can be legally promoted to the public, it is necessary to understand something of the laws covering their regulation. If the product is a drug, FDA (Food and Drug Administration)can require proof (证明) under the Food, Drug, and Cosmetic Act that is safe and effective before it is put on the market. But if the product is a device, FDA has no authority to require pre-marketing proof of safety or effectiveness. If a product already on the marker is a danger to health, FDA can request the producer or distributor to remove it from the market voluntarily, or it can take legal action, including seizure (查封) of the product.
One notable case a few years ago involved an electrical device called the Relaxacisor, which had been sold for reducing the waistline. The Relaxacisor produced electrical shocks to the body through contact pads. FDA took legal action against the distributor to stop the sale of the device on the grounds that it was dangerous to health and life.
Obviously, most of the devices on the market have never been the subject of court proceedings (法律诉讼), and new devices appear continually. Before buying, it is up to the consumer to judge the safety or effectiveness of such items.

It can be inferred that ads. mentioned in the text are ______.

A.objective

B.costly

C.unreliable

D.illegal

单项选择题 A3型题