问题 单项选择题

若有说明:int a [3][4];则对a数组元素的非法引用是

A.a[0][2*1]

B.a[1][3]

C.a[4-2][0]

D.a[0][4]

答案

参考答案:D

解析: 在数组这部分的知识里面,数组下标越界是一个比较容易忽略的问题,其下标是从。开始,至n-1为止,因此选项D是正确答案。

阅读理解

阅读理解。

     Maybe ten-year-old Elizabeth put it best when she said to her father, "But, Dad, you can't be healthy if

you're dead."

     Dad, in a hurry to get home before dark so he could go for a run, had forgotten to wear his safety belt-a

mistake 75% of the US population make every day. The big question is why.

     There have been many myths (谬论) about safety belts ever since their first appearance m cars some

forty years ago. The following are three of the most common.

     Myth Number One: It's best to be "thrown clear" of a serious accident.

     Truth: Sorry, but any accident serious enough to "throw you clear" is also going to be serious enough

to give you a very bad landing. And chances are that you'll have traveled through a wind-shield (挡风玻璃)

or door to do it. Studies show that chances of dying after a car accident are twenty-five times greater in

cases where people are "thrown clear".

     Myth Number Two: Safety belts "trap" people in cars that are burning or sinking in water.

     Truth: Sorry again but studies show that people knocked unconscious (昏迷) due to not wearing safety

belts have a greater chance of dying in these accidents. People wearing safety belts are usually protected to

the point of having a clear head to free themselves from such dangerous situations, not to be trapped in them.

     Myth Number Three: Safety belts aren't needed at speeds of less than 30 miles per hour.

     Truth: When two cars traveling at 30 mph hit each other, an unbelted driver would meet the windshield

with a force equal to diving head first into the ground from a height of 10 meters.

1. Why did Elizabeth say to her father "But, Dad, you can't be healthy if you're dead"?

A. He was driving at great speed.

B. He didn't have his safety belt on.

C. He was running across the street.

D. He didn't take his medicine on time.

2. The reason why Father was in a hurry to get home was that he _____.

A. wasn't feeling very well

B. hated to drive in the dark

C. wanted to take some exercise

D. didn't want to be caught by the police

3. According to the text, to be "thrown clear" of a serious accident is very dangerous because you _____.

A. may get seriously hurt being thrown out of the car

B. may be knocked down by other cars

C. may find it impossible to get away from the seat

D. may get caught in the car door

5. What is the advice given in the text?

A. Never drive faster than 30 miles an hour.

B. Never forget to wear a safety belt while driving.

C. Try your best to save yourself in a car accident.

D. Drive slowly while you're not wearing a safety belt.

单项选择题