问题 单项选择题

有以下说明和定义语句
struct student
int age;char num 8;;
struct student stu[3]=20,“200401”,21,“200402”),19,“200403”;
struct student *p=stu;
以下选项中引用结构体变量成员的表达式错误的是

A.(p++)->num

B.p->num

C.(*p).num

D.stu[3].age

答案

参考答案:D

解析: 本题考核的知识点是结构体数组元素成员的引用。结构体变量也有地址,因此可以把它的地址赋值给一个指针变量,然后通过该指针变量来引用结构体的成员,选项A和选项 B就是通过指针变量来引用结构体的成员,故选项A和选项B都正确,也可以通过结构体数组元素的成员引用,选项C和选项D属于这种情况,而在选项 D中stu[3].age不正确,因为结构体数组stu共有三个元素,其下标应该为0,1,2.所以,4个选项中选项D符合题意。

填空题
阅读理解

If you lose your wallet, how often do you think someone will be kind enough to return it to you, with cash and credit cards?

Some people may be greedy, and others are simply too lazy to bother(打搅) with the trip to the post office to send back a wallet to a stranger. But according to a psychology study by Dr. Richard Wiseman, there’s one thing that’ll greatly increase your odds of being reunited with a lost wallet: a photograph of a cute baby.

In the study, hundreds of wallets were scattered(分散) around the streets of Edinburgh, Scotland. The psychologists wanted to see how many strangers would take the trouble to return them to the addresses listed on the drivers’ licenses inside—but more than that, they wanted to find out what would make a person more likely to help out a stranger.

To finish this, they included personal things in most of the wallets: some included a photo of a happy elderly couple, some contained a cute puppy, some contained a family portrait, and some held a photo of a lovely baby. Others had receipts(发票) showing that the wallet’s owner had recently donated to a charity(慈善). Some contained no personal details.

As the psychologists soon discovered, the sight of a smiling baby is enough to warm nearly any heart: only one in ten of the strangers who retrieved such wallets did not return them. In contrast, the second most successful image, the puppy, had a 53% return rate. When the wallet included no photograph, it stood only a one in seven chance of being returned to the owner.

The success of the baby photograph shows a human compassion(同情) for the young that’s been passed down through the ages, according to Dr. Wiseman. “The baby kicked off a caring feeling in people, which is not surprising from an evolutionary perspective(进化的角度),” he told the Times.

To ensure our species’ survival, scientists think that we must feel empathy and compassion for our young. Scientists say that this study supports the argument that we won’t feel compassion only for our own babies, but for any that we see—hence, the strong desire a stranger would feel to return a wallet to the baby’s parent.

On a more basic level, the study also provides a great tip to help ensure that if your wallet is ever lost, you’re more likely to get it back. “If you want to increase the chances of your wallet being returned if lost, gain a photograph of the cutest baby you can find and ensure that it is clearly displayed,” said Dr. Wiseman.

小题1:The main purpose of the psychologists’ leaving hundreds of wallets around was to find out________.

A.whether people were as honest as before

B.what made people willing to help strangers

C.what kind of feelings could be caused by a smiling baby

D.how evolution influenced human beings小题2:The underlined word “retrieved” in Para. 5 probably means “________”.

A.picked up

B.spread out

C.found out

D.looked for小题3:Why did people return a wallet with a photograph of a cute baby in it?

A.Because the wallet was not attractive enough to keep.

B.Because the sight of a baby could cause a caring feeling in them.

C.Because they were curious to know the parents of the baby

D.Because the sight of a cute baby reminded them of their own children.小题4:If there are 30 lost wallets with a photograph of a cute baby, how many of them will probably be returned?

A.Only 3.

B.About 15.

C.20 or so.

D.About 27.小题5:We can learn from the last two paragraphs that________.

A.humans usually have compassion for the young

B.the caring feeling in people is gone during evolution

C.scientists believed that people only feel compassion for their own babies

D.a wallet with a cute baby’s picture in it cannot be lost