在窗体上画三个标签、三个文本框(名称分别为Text1、Text2、Text3)和一个

题型:单项选择题

问题:

在窗体上画三个标签、三个文本框(名称分别为Text1、Text2、Text3)和一个命令按钮(名称为Command1),外观如下图所示。


编写如下程序:
Private Sub Form_Load()
Text1.Text=" "
Text2.Text=" "
Text3.Text=" "
End Sub
Private Sub Command1_Click()
x=Val (Text1.Text)
y=Val(Text2.Text)
Text3.Text=f(x, y)
End Sub
Function f(ByVal x As Integer, ByVal y As Integer)
Do While y<>0
tmp=xMod y
x=y
y=tmp
Loop
f=x
End Function
运行程序,在Text1文本框中输入36,在Text2文本框中输入24,然后单击命令按钮,则在Text3中显示的内容是______。

A) 4
B) 6
C) 8
D) 12

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

阅读短文,回答问题。

     I am Lisa, I study in Beijing International School now. There are fifty-four students in my class.

Only six students go to school on foot, because they live near our school. Li Xiang says it usually takes

him about fifteen minutes to walk to school. Eighteen students go to school by bike.

     Some of them think it is faster to ride bikes than to take buses in the morning and evening. They also

think riding bikes is good for them. Twenty-two students take buses or the subway to school. Most of

them have to take more than one bus to get to school, so they must get up early every day. And other

students go to school by car. Their parents drive them to school first, and then go to work. Do you know

how I get to school? I'm one of the eighteen people.

1. How long does it take Li Xiang to get to school on foot?

    ___________________________________________________________________

2. What do some students think is good for them?

    ___________________________________________________________________

3. Why do the twenty-two students get up early every day?

    ___________________________________________________________________

4. How many students go to school by car?

    ___________________________________________________________________

5. How does Lisa go to school?

    ___________________________________________________________________

题型:单项选择题

8,4,4,6,15,( )

A.24

B.30

C.48

D.60

题型:单项选择题

PTC是区别肝内或肝外胆管阻塞的最好辅助检查。()

题型:单项选择题

顺铂的化学结构为().

A.A

B.B

C.C

D.D

E.E

题型:单项选择题

对温度特别敏感的药物()的加速试验条件及试验期分别为()。

更多题库