有两只电流表,其内阻分别为:Rl=20Ω,R2=500Ω,先后串接在电压E=6V和保护电阻R=1000Ω的电路上,其中内阻Rl =20Ω的电流表读数较正确。
第1题:
以下程序用来输出20个在开区间(10,87)上的随机整数数R,每行输出4个整数。请完成空白处.
Private Sub Commandl. Click( )
For I=1 To 10
R = Int (Rnd * 76 + 11)
Print R;
If【 】Then Print
Next I
End Sub
第2题:
在窗体上画两个标签和一个命令按钮,其名称分别为Label1、Label2和Command1,然后编写下列程序: Private Sub rune(L AS Labe1) Caption="1234" End Sub Private Sub Form. Load( ) Labe11.Caption="ABCDE" Labe12.Caption=10 End Sub Private Sub Command1Click( ) a=Va1(Label2.Caption) Call func(Label1) Label2.Caption a End Sub 程序运行后,单击命令按钮,则在两个标签中显示的内容分别为( )。
A.ABCD和10
B.1234和100
C.ABCD和100
D.1234和10
第3题:
在窗体上画两个标签和一个命令按钮,其名称分别为Labell、Label2和Command1,然后编写如下程序: Private Sub func(L As Label,ByVal a As Integer) L.Caption="1234" a=a*a End Sub Private Sub Form_Load() Label1.Caption="ABCD" Label2.Caption=10 End Sub Private Sub Command1_Click() a=Val(Label2.Caption) Call func(Labell,A)Label2.Caption=a End Sub 程序运行后,单击命令按钮,在两个标签Label1和Label2中显示的内容分别是 ______。
A.ABCD和10
B.1234和100
C.ABCD和100
D.1234和10
第4题:
以下程序用来输出20个在开区间(10,87)上的随机整数R,每行输出4个整数。请完成空白处。
Private Sub Command1 Click()
For I=1 To 10
R=Int(Rnd*76+11)
Print R;
If【 】Then Print
Next I
End Sub
第5题:
下列程序的输出结果是【 】。
Private Sub Command l Click()
Dim a(1 TO 20)
Dim i
For i=1 TO 20
a(i)=i
Next i
For Each i In a()
a(i)=20
Next i
Print a(2) End Sub
第6题:
有以下程序: #include<stdio.h> #define SUB(a)(a)-(a) main( ) {int a=2,b=3,c=5,d; d=SUB(a+b)*C; printf("%d\n",d); } 程序运行后的输出结果是( )。
A.0
B.-l2
C.-20
D.10
第7题:
在窗体上画两个标签和一个命令按钮,其名称分别为Labe11、Labe12和Command1,然后编写如下程序: Private SUb fune(L As Label,By Val a As Integer) L.Caption="1234" a=a*a End Sub Private Sub Form. Load() LabeCaptlon="ABCD" LabeCapfion=10 End Sub Private SUb Command1_Click() a=Val(Label2.Caption) Callfunc(Labell,A)LabeCaption=a End Sub 程序运行后,单击命令按钮,在两个标签Labe11和Labe12中显示的内容分别是______。
A.ABCD和10
B.1234和100
C.ABCD和100
D.1234和10
第8题:
( 27 )在窗体上画两个标签和一个命令按钮,其名称分别为 Label1 、 Label2 和 Command1 ,然后编写如下程序:
Private Sub func(L As Label)
L.Caption= ” 1234 ”
End sub
Private Sub Form_Load()
Label2.Caption=10
End sub
Private Sub Command1_Click()
A=Val(Label2.Caption)
Call func(Label1)
Label2.Caption=a
End sub
程序运行后,单击命令按钮,则在两个标签中显示的内容分别为
A ) ABCD 和 10
B ) 1234 和 100
C ) ABCD 和 100
D ) 1234 和 10
第9题:
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
血气分析结果符合代偿性代谢性酸中毒( )
第10题:
在窗体中添加一个名称为Commandl的命令按钮,然后编写如下程序:Public X As Integer Private Sub Commandl Click( )x=10 Call slCall s2MsgBox x End Sub Private Sub sl( )x=x+20 End Sub Private Sub s2( )Dim x As Integer x=x+20End Sub窗体打开运行后,单击命令按钮,则消息框的输出结果为( )。
A.10
B.30
C.40
D.50