问题 单项选择题

可以随表的打开而自动打开的索引是( )。

A.1

B.51

C.6

D.15

答案

参考答案:B

解析:在默认的情况下,InputBox的返回值是一个字符串,而不是变体类型。如果没有事先声明返回值变量的类型,或声明为变体类型,则当把函数的返回值赋给这个变量时,Visual Basic将是把它作为字符串来处理。因此当需要用InputBox函数输入数据,并且需要输入的数值参加运算时,必须在进行运算前用Val函数(或其他函数)把它转换为相应类型的数值,否则有可能会得到不正确的结果。如果正确地声明了返回值的变体类型,则可不必进行类型转换;由于本题没有事先声明m、n变量,所以,m、n所获得的为字符“1”和“5”,所以输出n+m时是“51”。

单项选择题
单项选择题

Ever since it was claimed that a medicine made from the Chinese three-striped box turtle could cure cancer, demand for the product has increased, making the turtle the most expensive to be found in China’s food markets. Huge sums of money have been made selling the medicine. The turtle -- along with a few other Cuora species -- was once imported into China by the pet trade.
Exporters obtained the specimens in the food markets rather than going out to collect them in the wild. Treatment of the turtles prior to reaching the markets resulted in many of them being diseased. Packed tightly into crates, often for journeys of several weeks without food, it is little wonder that many specimens exported to western countries fared poorly when purchased as pets.
Throughout the Far East turtles and tortoises have featured in various cultures and certain religions. They have also been used for hundreds of years for food and medicine. Traditional Chinese medicine is probably the greatest threat to the three-striped box and to the thousands of other turtles that are imported yearly into China. Turtles are well known for their longevity, which it is thought will be passed on to those eating them. Turtle blood, bones and shells -- particularly the plastron (ventral part of the shell) -- are thought to have medicinal properties and be able to cure a number of ailments. Turtle eggs are also used for food and medicine. The medicinal value of the turtles is open to question, and it is possible that herbs could produce the same effects. Any beneficial substances from the turtles could also be synthesized chemically, so as to prevent the killing of turtles.
The southern part of China has become more prosperous in recent years, and the demand for turtles has increased dramatically. Turtle dishes are served in restaurants and regarded as an expensive delicacy, even a status symbol.
As turtle supplies in China dwindled, traders started importing the animals from Vietnam. As a result, many Vietnamese turtles have now disappeared from their haunts in the wild. To satisfy growing demand, importers have now turned to sources farther afield, including Cambodia, Laos, Nepal, India, Bhutan and Indonesia.
Since biologists started studying turtles in Chinese food markets, several previously unknown and extremely rare species have been found; some are on Appendix I of CITES. At the present rate of collection such specimens, and even species not yet discovered, could soon be extinct. The three-striped box turtle is simply one among dozens of other species flooding into China, but its high value makes it a special target for collectors.

Which of the following can be concluded from the author’s statement "Any beneficial substances from the turtles could also be synthesized chemically, so as to prevent the killing of turtles" in Paragraph 3

A.The author feels sorry for killing turtles massively.

B.Turtles can be used to substitute many other medicines.

C.Many other kinds of herbs can be as useful as turtles.

D.International market feels happy for Chinese businessmen to buy.