问题 单项选择题

Sub过程与Function过程最根本的区别是( )。

A.Sub过程的过程不能返回值,而Function过程能返回值

B.Function过程可以有形参,Sub过程不可以

C.Sub过程可以使用Call语句直接使用过程名调用,而Function过程不可以

D.两种过程参数的传递方式不同

答案

参考答案:A

解析:在Visual Basic”中有两类过程,一类是系统提供的内部函数和事件过程; 另一类是用户根据自已的需要定义的,供事件过程的多次调用。在第二类过程中,涉及最多的是子过程 它们的共同点都是完成某种特定功能的一组程序代码;不同的是函数 是可以直接返回值的特殊过程,所以函数过程定义时有返回值的类型说明。两者最大区别就是Sub过程的过程不能直接返回值,而Function过程能直接返回值。

完形填空
Although it was autumn, the snow was already beginning to fall in Tibet (西藏).Our legs were so heavy and cold that     16  felt like big pieces of ice.Have you    17  seen snowmen ride bicylces? That’s what we looked like! Along the way children who were    18   long wool coats stopped to look at us. In the late  19   
we found it was so cold that our water bottles froze (结冰).However, the lakes    20 like glass in the setting sun and loooked wonderful.
Wang Wei rode in front of me as usual. She was in high spirt and I knew I didn’t need to    21  her.To climb the mountains was hard work but as we    22  us, we were surprised by the view. We seemed to be able to see for miles, and we were so high that we found ourselves cycling through clouds. After a while, we began going  23  the mountains. It was great fun especially as it slowly became much    24   .At the foot of the mountains, colourful butterflies flew around us and we saw many sheep eating green grass. Then we had to   25  
Our caps, gloves and trousers for T-shirts and shorts.
In the early evening we stopped to    26    .We put up our tent and then we ate. Afte supper Wang Wei went to sleep but I stayed    27  .At midnight the sky became clearer and the stars grew brighter.As I    29   below the stars I thought about how far we had already travelled.
We will reach Dali in Yunan Province soon, where our cousins will join us. We     30  hardly wait to see them!
小题1:
A.weB.youC.theyD.it
小题2:
A.neverB.everC.evenD.yet
小题3:
A.dressed inB.put on C.taken offD.dressed up
小题4:
A.morningB.afternoon C.eveningD.night
小题5:
A.shineB.shiningC.shinesD.shone
小题6:
A.followB.encourageC.remindD.discover
小题7:
A.looked atB.looked afterC.looked forD.looked around
小题8:
A.upB.downC.aroundD.into
小题9:
A.colderB.drierC.warmerD.wetter
小题10:
A.chargeB.checkC.chaseD.change
小题11:
A.make bedsB.make friendsC.make campD.make money
小题12:
A.aliveB.aloneC.awayD.awake
小题13:
A.cloudy B.foggyC.noisyD.quiet
小题14:
A.lieB.liedC.layD.laid
小题15:
A.mayB.can C.mustD.shall
选择题