问题 填空题

在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程: Private Sub Command1_Click() n=5 f=-1 s=0 For i=1 To n f=f 【15】 s=s+f Next Print s End Sub该事件过程的功能是计算s=1+1/2!+1/3!+…+1/n!的值。请填空。

答案

参考答案:*(1/i)或/i

解析:[知识点] 模块NBA程序设计基础[评析] 本程序首先置f为1,s为0:经过5次循环使f每次都乘以1/i实现了1/n!的求法,每次循环后都加 f,把结果再赋给s,循环结束,s的值即为所求。

阅读理解

It’s not easy being a teenager---nor is it easy being the parent of a teenager. You can make your child feel angry, hurt, or misunderstood by what you say without realizing it yourself. It is important to give your child the space he needs to grow while gently letting him know that you’ll still be there for him when he needs you.

Expect a lot from your child, just not everything. Except for health and safety problems, such as drug use or careless driving; consider everything else open to discussion. If your child is unwilling to discuss something, don’t insist he tell you what’s on his mind. The more you insist, the more likely that he’ll refuse to talk. Instead, let him attempt to solve things by himself. At the same time, remind him that you’re always there for him should he seek advice or help. Show respect for your teenager’s privacy(隐私). Never read him his mail or listen in on personal conversions.

Teach your teenager that the family phone is for the whole family. If your child talks on the family’s telephone for too long, tell him he can talk for 15 minutes, but then he must stay off the phone for at least an equal period of time. This not only frees up the line so that other family members can make and receive calls, but teaches your teenager moderation (节制). Or if you are open to the idea, allow your teenager his own phone that he pays for with his own pocket money or a part-time job.

小题1:Why is it not easy being a teenager or a parent of a teenager?

A.Because the teenager is very naughty.

B.Because the parent always expects a lot from the child.

C.Because you can make your child feel hurt, or misunderstood by what you say without realizing it yourself.

D.Because the teenager wants his or her own space.小题2:The main purpose of the text is to tell parents       .

A.how to get along with a teenager

B.how to respect a teenager

C.how to understand a teenager

D.how to help a teenager grow up小题3:The last paragraph is about how to teach a teenager        .

A.to use the phone in a sensible way

B.to pay for his own telephone

C.to share the phone quickly

D.to answer the phone quickly小题4:What should parents do in raising a teenager according to the text?

A.Not allow him to learn driving or take drugs.

B.Give him advice only when necessary.

C.Let him have his own telephone.

D.Not talk about personal things with him.

判断题