在窗体中有一个命令按钮Command1,编写事件代码如下:  Private Sub

题型:单项选择题

问题:

在窗体中有一个命令按钮Command1,编写事件代码如下:

  Private Sub Command1_Click()

  Dim s As Integer

  s = p(1) + p(2) + p(3) + p(4)

  debug.Print s

  End Sub

  Public Function p (N As Integer)

  Dim Sum As Integer

  Sum = 0

  For i = 1 To N

  Sum = Sum + 1

  Next i

  P = Sum

  End Function

  打开窗体运行后,单击命令按钮,输出的结果是()

A.15

B.20

C.25

D.35

考点:计算机等级考试ACCESS全国计算机等级考试二级Access真题2009年9月
题型:单项选择题

A man died and was on his way to another world, either heaven (天堂) or hell (地狱). He saw an extremely grand palace half way and the owner of the palace asked him to stay and live in the palace.

The man said, “I have been working hard during my life and now I just want to eat and sleep without any work.”

The owner of the palace said, “If so, there is nowhere else better than here for you. There is plenty of seafood and delicacies (美味佳肴) in my palace, and you can eat whatever you like without anyone stopping you. And nothing needs to be done by you.” Then, the man settled down (安定) in the palace.

At the beginning, the man felt very happy at the cycle of eating and sleeping. But gradually, he felt a bit lonely and void. So he went to the palace owner and said, “It is very bored to live by just eating and sleeping every day. Now I show no interest in this kind of life any more. Could you help me find a job?”

The owner replied, “Sorry, there is no job here at all.”

After another several months, the man could not go on with the life and went to the palace owner again, “I really can not stand this kind of life any more. If you do not offer me a job, I would prefer to go to hell instead of living here.”

The owner of the palace smiled contemptuously (蔑视地), “Do you think it is heaven here? It is actually hell!”

根据短文内容,选择最佳选项。(10分)

小题1:The man saw a really grand palace ______.

A.on his way home

B.on his way to hell

C.on his way to heaven

D.on his way to another world after his death小题2:The man could stay in the palace ______.

A.where he had to work hard

B.where he couldn’t eat much food

C.where he did nothing but eat or sleep

D.where he had no seafood or delicacies to eat小题3:The underlined word “void” means “     ” in Chinese.

A.活泼的

B.空虚的

C.困倦的

D.激动的小题4:Why did the man want to find a job in the palace?

A.Because he was too poor to live.

B.Because there were many jobs for him.

C.Because he wanted to make more money.

D.Because he felt lonely and bored with the life.小题5:Where did the man think he was?

A.In heaven.

B.In hell.

C.At his home.

D.On the Earth.

题型:单项选择题

以下不属于防火墙作用的是()

A.过滤信息

B.管理进程

C.清除病毒

D.审计监测

题型:单项选择题

一九四五年找出某厂的1000名在表上涂镭的女工,比较这些女工与1000名女电话接线员自1945~1975年骨瘤发生率。在此期间,涂镭女工有20例骨瘤患者,而接线员只有4例

这种研究属于()

A.队列研究

B.实验研究

C.病例对照研究

D.临床实验研究

E.干预性实验研究

题型:单项选择题

以人为中心,以护理程序为基础,以现代化护理观为指南,对人实施生理、心理和社会各个方面的护理,从而使人达到最佳健康状况的是()

A.个案护理

B.功能制护理

C.小组护理

D.责任制护理

E.整体护理

题型:单项选择题

判读标志

更多题库