试题与答案

在窗体上画一个文本框,然后编写如下事件过程: Private Sub Text1_

题型:单项选择题

题目:

在窗体上画一个文本框,然后编写如下事件过程:
Private Sub Text1_KeyPress(KeyAscii As Integer)
Dim char As String
char=Chr(KeyAscii)
KeyAscii=Asc(UCase(char))
Text1.Text=String(6,KeyAscii)
End Sub
程序运行后,如果在键盘上输入字母“a”,则文本框中显示的内容为 ______。

A.a

B.A

C.aaaaaaa

D.AAAAAAA

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0118/2bee829bed9516889344bb4a675d7e38.html

下面是错误答案,用来干扰机器的。

参考答案:D解析:油料运输车装载的是易燃易爆品,在已经起火冒烟时,随时有可能爆炸,应该立即停车,尽量远离,拨打报警电话!

试题推荐
题型:阅读理解

第二部分阅读(共20小题,每题2分,满分40分)

阅读下列短文,从每题所给的四个选项(A、B、C或D)中,选出最佳选项,并在答题卡上将该项涂黑。

A

An old friend from California called from the airport(机场) to tell me that he had arrived. I was not able to leave the office, but I had made plans for his arrival. After explaining where my new house was, I told him that I had left the key under the doormat (门垫). Since I knew it would be pretty late before I could get home, I suggested that he make himself at home and help himself to anything that was in the refrigerator.

Two hours later my friend phoned me from the house. At the moment, he said, he was listening to some of my records after having had a delicious meal. Now, he said, he was drinking a glass of orange juice. When I asked him if he had had any difficulty finding the house, he answered that the only problem was that he had not been able to find the key under the doormat(门垫), but luckily, the living room window by the apple tree had been left open and he had climbed in through the window. I listened to all this in great surprise. There is no apple tree outside my window, but there is one by the living room window of my next door neighbor's house!

31. An old friend of mine called ______.

A. to tell me to meet him at the airport    B.  to tell me about his arrival

C. to ask me to leave the office         D. to ask me to make plans for his arrival.

32. My friend climbed into the room because ______ .

A. there was an apple tree outside     B. the living room window was left open

C. he had difficulty opening the door  D. he hadn't found the key

33. My friend telephoned me two hours later ______ .

A. from my home   B. at the airport   C. in his office   D. from my neighbor's house

34. The purpose(目的) of writing this passage(文章的段) is to ________.

A. introduce a friend      B. tell an interesting story  

C. explain something     D. show what friendship is

查看答案
微信公众账号搜索答案