在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程: Priva

题型:单项选择题

问题:

在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程:
Private Sub Command1_Click()
Call sub1(-15.1,2.54)
End Sub
Public Function sub1(a As Integer,ByVa1 b As String) As Integer
a=Val(b)
sub1=a
Print sub1
End Function
程序运行后,单击命令按钮,在窗体上输出的是

A.3

B.2

C.-15

D.提示出错

考点:计算机等级考试VISUALBASIC二级VISUALBASIC笔试
题型:单项选择题

阅读理解。

Dear Sir,

      I have to travel every day from Souk Road to the airport. Two buses travel along the line: the number 49

and number 16. But by the time the number 16 bus gets to Souk Road, it is always full, so I can't get on it. I

have to wait for the number 49, because sometimes there are empty seats on it.

     The timetable says that there are buses from Souk Road to the airport every ten minutes. If this is so, why

do I have to wait half an hour for a bus every day?

     The regulations (规章) say that if there are empty seats on a bus, the bus must stop at every stop where

people are waiting. Why do the half-empty buses go straight past me when I am standing at the bus stop?

     The regulations say that no bus may carry more than 40 seated passengers (乘客) and 20 standing

passengers. Yesterday I was the first to get off the bus when it reached the airport. I counted (数) the other

passengers as they got off. There were 129 of them.

     It is clear that our bus companies break the regulations and think little of their passengers. Can nothing be

done to make your service (服务) better?

1. This passage is ________.

A. a message

B. a talk

C. a story

D. a letter

2. The writer has to take Bus No. 49 because _________.

A. it arrives on time

B. it is not always full

C. it travels faster

D. it has fewer seats on it

3. How long does the writer usually have to wait for a bus?

A. Ten minutes.

B. One hour.

C. Half an hour.

D. Nearly a day.

4. The regulations say that each bus may carry ______ passengers at most.

A. 20

B. 40

C. 60

D. 129

5. From the passage we can see that __________.

A. the bus service was bad

B. no passengers took their buses

C. no bus passed Souk Road

D. the writer was always the first to get on the bus

题型:单项选择题
在Rt△ABC中,∠C=90°,a=2
2
,b=2
6
,则下列结论中不正确的是(  )
A.c=4
2
B.cotA=
3
C.sinA+cosB=1D.∠B=30°
题型:单项选择题

酸碱质子理论认为:凡是能够给出质子(H+)的物质都是酸、凡是能够接受质子的物质都是碱。下列微粒中,既可以看做酸又可以看做碱的是

A.HCO3-

B.CO32-

C.S2-

D.NH4+

题型:单项选择题
在横线上填上“<”“>”或“=”
4200平方米______4.2公顷7.08千克______7千克80克
2.05×1.03______2.059.12÷1.24______9.12.
题型:单项选择题

下列现象中,利用了大气压作用的是   

A.用天平测质量

B.用吸管吸饮料

C.将热气球放上天

D.用注射器把药液注入肌肉

更多题库