A不确定
Bωa<ωb
Cωa=ωb
Dωa>ωb
第1题:
A、Function过程与Sub过程都必须有形参
B、Function过程与Sub过程都有各自的变量声明和各自的过程体
C、Function过程结果要返回一个函数值,Sub过程可以没有数值返回
D、Function过程定义中必须为过程名赋值,而Sub过程不能为过程名赋值
第2题:
窗体Form1上有一个名称为Command1的命令按钮,以下对应窗体单击事件的事件过程是( )。
A.Private Sub Form1 Click( )
End Sub···
B.Private Sub Form1. Click( )
End Sub···
C.Private Sub Command1 click( )
End Sub···
D.Private Sub Command Click( )
End Sub···
第3题:
( 33 )若要在子过程 Procl 调用后返回两个变量的结果,下列过程定义语句中有效的是
A Sub Procl(n,m)
B Sub Procl(ByVal n,m)
C Sub Procl(n,ByVal m)
D Sub Procl(ByVal n,ByVal m)
第4题:
写出程序运行的结果
Public class Base
Public virtual string Hello() {return “Base”;}
Public class Sub:Base
Public override string Hello() {return “Sub”;}
1. Base b = new Base(); b.Hello;
2. Sub s = new Sub(); s.Hello;
3. Base b = new Sub (); b.Hello;
4. Sub s = new Base(); s.Hello;
第5题:
A、PH7.38,PaO<SUB>2</SUB>50mmHg,PaCO<SUB>2</SUB>40mmHg
B、PH7.30,PaO<SUB>2</SUB>50mmHg,PaCO<SUB>2</SUB>80mmHg
C、PH7.40,PaO<SUB>2</SUB>60mmHg,PaCO<SUB>2</SUB>65mmHg
D、PH7.35,PaO<SUB>2</SUB>80mmHg,PaCO<SUB>2</SUB>20mmHg
E、PH7.25,PaO<SUB>2</SUB>70mmHg,PaCO<SUB>2</SUB>20mmHg
血气分析结果符合代偿性代谢性酸中毒( )
第6题:
如下图所示的两个窗体:
要使其中第一个窗体中的第一个命令按钮来控制显示第二个窗体,第二个命令按钮用来结束程序的运行(两个按钮名称为Command1和Command2)。则以下选项中,对这两个命令按钮编写的事件过程正确的是
A.Private Sub Command1 Click() Form2.Show 1 End Sub Private Sub Command2_Click()End End Sub
B.Private Sub Command1_Click() Show 1 End Sub Private Sub Conunand2_Click() End End Sub
C.Private Sub Conmmand1_Click() Show 1 End Sub Private Sub Command2_Click() End End Sub
D.Private Sub Command1_Click()Show 1, Form2 End SubPrivate Sub Command2_Click() End End Sub
第7题:
下列Sub 过程中描述错误的是______。
A.Sub 过程只能在窗体模块中定义
B.Goto 语句不能用于Sub 过程
C.Sub 过程只能在窗体模块中定义
D.Sub 过程中不能嵌套定义Sub 过程
第8题:
下列关于Sub过程的叙述正确的是A.一个Sub过程必须有一个Exie Sub语句B.一个Sub过程必须有一个Enb Sub语句C.在Sub过程中可以定义一个Function过程D.可以用Goto语句退出Sub过程
第9题:
假定有如下的Sub过程:
Sub Sub1(x As Single,y As single)
t=x
x=t/y
y=t Mod y
End Sub
在窗体上画一个命令按钮,然后编写如下事件过程:
Private Sub Command1_click()
Dim a As Single
Dim b As Single
a=5
b=4
Sub1 a,b
Print a;b
End Sub
程序运行后,单击命令按钮,输出结果为
A.
B.
C.
D.
第10题:
要想在过程调用中返回两个结果,下面的过程定义语句合法的是
A.Sub Submit(ByVal n,ByVal m)
B.Sub Submit(n,ByVal m)
C.Sub Submit(n,m)
D.Sub Submit(ByVal n,m)