问题 单项选择题

在窗体上画一个名称为Combol的组合框,名称为Text1的文本框,以及名称为Command1的命令按钮,如图所示。

运行程序,单击命令按钮,将文本框中被选中的文本添加到组合框中,若文本框中没有选中的文本,则将文本框中的文本全部添加到组合框中。命令按钮的事件过程如下:

Private Sub Command1_Click()

If Text1.SelLength<>0 Then

Else

Combo1.AddItem Text1

End If

End Sub

程序中横线处应该填写的是()。

A.Combo1.AddItem Text1.Text

B.Combo1.AddItem Text1.SelStart

C.Combo1.AddItem Text1.SelText

D.Combo1.AddItem Text1.SelLength

答案

参考答案:C

解析:

根据题意可知,横线处应该是将文本框中选中文本添加到组合框中。文本框Text属性返回整个文本框中的文本,故A选项错误;SelStart属性返回选中文本的起始位置,故B选项错误;SelLength属性返回选中文本的长度,故D选项错误;SelText属性返回选中的文本,故C选项正确。

单项选择题 A1/A2型题
完形填空

My father is a strong fisherman. He loved the sea and would stay out until he caught enough to 16 the family .
When we met   17  weather , he would drive me to school with his old truck . And after we 18  , he would bend over and give me a 19  on the face and then tell me to be a good boy. I always felt very 20 in front of so many other  21 . I was already a twelve-year–old young man , but my father still kissed me goodbye !
Then on a rainy day I   22 to tell him my feeling . When we stopped at the school gate, the   23 big smile appeared on my father’s face . I   24  what would happen next. I   25   put my hand up and for the first time said “ No” to him . The smile on his face immediately changed into a 26 look. He looked at me for a long time and   27   began to appear in his eyes. I was shocked. I had never   28   him cry ! Then he said, “ You’re right . You are a big boy … a man. I won’t kiss you 29  .’’
Not long after that, my father went to sea on a bad day. 30  of the fishermen stayed at home , but not Dad , because he had a big family to feed . But after that day, he  31 came back . Later his boat was 32 with his nets half in and half out . He must have   33 a strong wind and was trying to save the nets.
How I wished I had not   34  my father’s kiss! And from this I have learned that we should take every chance with our family and friends as the last one in our lives. We can have  35 regrets by doing so .
小题1:
A.enjoyB. feedC.keepD.save
小题2:
A.fineB. warm .C.coolD.bad
小题3:
A.leftB. arrivedC.appearedD.drove
小题4:
A.kissB. smileC.touchD.welcome
小题5:
A.excitedB. funnyC.gladD.shy
小题6:
A.passengersB. workersC.schoolmatesD.friends
小题7:
A.decidedB. agreedC.advisedD.happened
小题8:
A.strangeB. usualC.beautifulD.kind
小题9:
A.doubtedB. wonderedC.knewD.remembered
小题10:
A.clearlyB. carefullyC.quietlyD.quickly
小题11:
A.disappointedB. worriedC.surprisedD.tired
小题12:
A.angerB. tearsC.understandingD.happiness
小题13:
A.wantedB. seenC.likedD.minded
小题14:
A.foreverB. immediatelyC.sometimesD.any more
小题15:
A.MostB. AllC.NoneD.Every
小题16:
A.laterB. finallyC.neverD.seldom
小题17:
A.caughtB. foundC.boughtD.returned
小题18:
A.missedB. managedC.metD.hoped
小题19:
A.refusedB. forgottenC.hatedD.accepted
小题20:
A.newB. goodC.smallD.few