问题 单项选择题

现有定义int a;double b;float c;char k;,则表达式a/b+c-k值的类型为

A.int

B.double

C.float

D.char

答案

参考答案:B

解析: 双目运算中两边运算量类型转换规律: 运算数1 运算数2 转换结果类型 短整型 长整型 短整型->长整型 整型 长整型 整型->长整型 字符型 整型 字符型->整型 有符号整型 无符号整型 有符号整型->无符号整型 整型 浮点型 整型->浮点型 在a/b的时候,a、b的类型不一致,根据类型转换规则,把整型转换成double类型,之后的加、减类似。转化规则为char→short→int→unsigned→long→double←fioat。

阅读理解

Whether it’s a carol(圣诞颂歌)service or an evening of karaoke in the pub, many people will enjoy a good old singsong this Christmas. Singing aloud will not just lift the spirits---it’s good for your physical health as well. Filling the lungs(肺)with air, increasing the heart rate and getting blood pumping round the body faster can all help our physical health.

For the past few years Heart Research UK has been Funding a Christmas campaign aimed at getting people singing, simply for the benefit it can bring. The organizer of the campaign says singing is a safe, simple and social activity that everyone can enjoy. “Singing is linked to long life, stress reduction, and general health protection. It also brings a great amount of happiness. It is impossible to sing well with a long face because it affects your pitch(音高).”

Professor Graham Welch, who leads the International Music Education Research Centre at the University of London, has spent more than 30 years studying the effects of singing. He says that singing is a form of exercise. It means we’re also having a strong aerobic activity(有氧运动)when we’re singing, which results in increasing the feeling of pleasure while decreasing that of stress.

“And communal(共同的)singing—like in a singing group, a church service or even a singsong in the pub—helps improve our sense of self-respect. It increases our sense of satisfaction with ourselves, a greater sense of feeling included. ”

Helen Astrid, a singing teacher, also sees the great effects that singing brings. “It lifts us up on a spiritual level, it helps our self-respect, and it’s great for all ages from small kids to grannies—you can have a good sing and let your hair down.”

But she warns people not to have too many beers or glasses of wine, though a glass may help them gather courage before taking to the stage during the holidays.

小题1:Heart Research UK holds a campaign to __________.

A.encourage people to sing for God at Christmas

B.study the effects of singing on people

C.get people to sing and improve their health

D.bring happiness to people during holidays小题2: What are the benefits of singing according to Graham Welch?

a. Singers’ living longer.

b. Singers’ general health protection.

c. Singers’ feeling happier.

d. Singers’ stress reduced.

e. Singer’s self-respect improved.

A.a, b, c

B.b, c, d

C.c, d, e

D.a, b, e小题3: The underlined part “let your hair down” probably means __________.

A.feel at ease

B.protect yourself

C.dress casually

D.cover your nervousness小题4: What can we infer from the passage?

A.Singing at Christmas is good for health.

B.In a low mood one is not able to sing well.

C.Experts have disagreement on singing.

D.Singing is the same as other aerobic activities.小题5:Which is the best title of the passage?

A.Karaoke—Best Place for Singing!

B.Christmas—Best Time for Singing!

C.Singing—Healthy but Difficult

D.For Health—Let’s Sing!

多项选择题