问题 单项选择题

下列叙述中正确的是( )。

A) 线性链表的各元素在存储空间中的位置必须是连续的
B) 线性链表的头元素一定存储在其他元素的前面
C) 线性链表中的各元素在存储空间中的位置不一定是连续的,但表头元素一定存储在其他元素的前面
D) 线性链表中的各元素在存储空间中的位置不一定是连续的,且各元素的存储顺序也是任意的

答案

参考答案:D

解析: 在线性链表中,各元素在存储空间中的位置是任意的,各元素的顺序也是任意的,依靠指针来实现数据元素的前后件关系。

单项选择题
填空题

World Water Shortage


A new study warns that about thirty percent of the world’s people may not have enough water by the year 2025.
A private American organization called (1) Action International did the new study. It says (2) than three-hundred-thirty-five-million people (3) enough water now. The people live in twenty-eight (4) . Most of the countries are in Africa or the (5) East.
P-A-I researcher Robert Engelman says (6) the year 2025, about three-thousand-million people (7) lack water. At least 18 more countries are (8) to have severe water problems. The demand (9) water keeps increasing. Yet the amount of water on Earth (10) the same.
Mr. Engelman says the population in countries that lack water is (11) faster than in other parts of the world. He says (12) growth in these countries will continue to (13) .
The report says lack of water in the future may (14) in several problems. It may increase health (15) . Lack of water often means drinking (16) not safe. Mr. Engelman says there are problems (17) over the world because of diseases, such as cholera, (18) are carried in water. Lack of water may also result (19) more international conflict. Countries may have to (20) for water in the future. Some countries now get sixty percent of their fresh water from other countries. This is true of Egypt, the Netherlands, Cambodia, Syria, Sudan, and Iraq. And the report says lack of water would affect the ability of developing to improve their economies. This is because new industries often need a large amount of water when they are beginning.