问题 单项选择题

在窗体上画一个名称为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选项正确。

完形填空
It was Sunday afternoon. My brother and I were alone at home. My parents went for a party and asked me to look after my brother. I was doing my homework while my younger brother was watching TV. Suddenly the doorbell rang. Ding-Dong! My brother thought that it was our parents, so he opened the ________soon.
A tall man wearing a black raincoat stood outside. He said that he came to sell books and asked politely__________ our parents were at home.
Without thinking, my brother said,“No.” Then the man asked if we would like to ______some story books. I refused him. When I wanted to close the door, he suddenly pushed the door very _______and came into our house. He took out a ________and ordered me to tie up my brother’s hands with a rope. I tied up his hands in a special way so my brother could untie ______easily. The man then tied my hands up and locked _______of us in the kitchen. Soon, he went upstairs to _________money. I taught my brother to untie the rope on his ______. He then untied me. I rushed to the telephone to call the police, ______the line was dead. The doors were all locked from the outside. It was lucky that the man ______to lock the kitchen window. We got out of the house through the kitchen window and went to the _______ pay phone to call the police
Soon _______came to our house and the man was caught. By that time, my parents had come home. We told them the whole story. My parents were ______that we were not hurt. They told me that I should stop my brother from _______the door to strangers. I learned a lesson on safety.
小题1:
A.windowB.doorC.bookD.fridge
小题2:
A.ifB.whyC.whenD.how
小题3:
A.lendB.borrowC.sellD.buy
小题4:
A.politelyB.slowlyC.hard.D.quietly
小题5:
A.bookB.knifeC.giftD.pen
小题6:
A.himselfB.myselfC.herselfD.themselves
小题7:
A.noneB.neitherC.bothD.all
小题8:
A.look atB.look afterC.look likeD.look for
小题9:
A.feetB.handsC.neckD.legs
小题10:
A.andB.soC.orD.but
小题11:
A.wantedB.rememberedC.forgotD.tried
小题12:
A.farthestB.nearestC.largestD.smallest
小题13:
A.my friendsB.the policeC.the neighborsD.my parents
小题14:
A.gladB.angryC.sadD.sorry
小题15:
A.cleaningB.closingC.lockingD.opening
判断题