网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
R1和R2为两个串联电阻,已知R1=2R2, R1上消耗的功率与R2上消耗的功率之比为()
- A、P1:P2=1:2
- B、P1:P2=2:1
- C、P1:P2=1:1
- D、无法判断
参考答案
更多 “R1和R2为两个串联电阻,已知R1=2R2, R1上消耗的功率与R2上消耗的功率之比为()A、P1:P2=1:2B、P1:P2=2:1C、P1:P2=1:1D、无法判断” 相关考题
考题
运行以下程序后,输出结果为_____________。 Private Sub Command1_Click() a=1:b=2:c=3 Call test(a,b+3,(c)) Print "main:";a;b;c End Sub Private Function test(p,m,n) p=p+1:m=m+1:n=n+1 Print "sub:";p;m;n End Function:A. sub:2 6 4 main:1 2 3B. sub:2 6 4 main:2 2 3C. sub:2 6 4 main:2 6 4D. sub:2 6 4 main:1 6 4
考题
如下图所示的两个窗体:要使其中第一个窗体中的第一个命令按钮来控制显示第二个窗体,第二个命令按钮用来结束程序的运行(两个按钮名称为Command1和Command2)。则以下选项中,对这两个命令按钮编写的事件过程正确的是A.Private Sub Command1 Click() Form2.Show 1 End Sub Private Sub Command2_Click()End End SubB.Private Sub Command1_Click() Show 1 End Sub Private Sub Conunand2_Click() End End SubC.Private Sub Conmmand1_Click() Show 1 End Sub Private Sub Command2_Click() End End SubD.Private Sub Command1_Click()Show 1, Form2 End SubPrivate Sub Command2_Click() End End Sub
考题
窗体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···
考题
在窗体中添加一个命令按钮,编写如下程序: Private Sub Subl(p,m,n) p=p+1:m=m+1:n=n+1 Print"subl:";p;m;n End Sub Private Sub Command1_Click() al=1:b=2:c1=3 Call Subl(a,b1+3,c1) Print"Main:";a1;b1;c1 End Sub 程序运行后,输出结果为A.Sub:2 6 4 Main:2 6 4B.Sub:2 6 4 Main:2 6 4C.Sub:2 6 4 Main:1 2 3D.Sub:2 6 4 Main:2 2 3
考题
有如下程序: Private Sub Command1_Click() Dim a As Single Dim b As Single a=5:b=4 Call Sub1(a,b) End Sub Sub Sub1(x As Single,y As Single) t=X X=t\Y Y=t Mod y End Sub 在调用运行上述程序后,a和b的值分别为A.0 0B. 1 1C.2 2D.1 2
考题
在窗体中添加一个标签LblResult和一个命令按钮Command1,然后编写程序。程序的功能是单击命令按钮,计算1+2+3+4+5的值,并把结果转化为字符串显示在标签内,能够实现上述功能的程序段是, ( )A.Private Sub Command1_Click() Dim I,R As Integer For I=1 To 5 Step 1 R=R+I Next LblResult. Name=Str$ (R) End SubB.Private Sub Command1_ClickO Dim I,R As Integer For I=1 To 5 Step 1 R=R+I Next LblResult. Caption= Str$ (R) End SubC.Private Sub Command1_Click() Dim I,R As Integer Do While I<5 R=R+I I=I+1 Loop LblResult. Caption=Str$ (R) End SubD.Private Sub Command1_Click() Dim I,R As Integer Do R=R+I I=I+1 Loop While I<5 LblResult. Caption=Str$ (R) End Sub
考题
【程序说明】 计算下列算式的值。a,Ai为正整数,从键盘输入。其小∑Ai=1+2…+ Ai,Ai!=1 *2*3*Ai(i=1,2… a)。【程序】SET TAIK OFFCLEARINPUT“M=”TO MSTORE 0 TO S1,S2FOR I=1 TO M(8)DO SUB1DO SUB2ENDFOR? ” 所求算式的值为:“+ALLTRIM(STR(S1/S2,15,3))SET TALK ONPROCEDURE SUB1(9)FOR R=1 TO AK=K+RENDFOR(10)RETURNPROCEDURE SUB2(11)FOR P=1 TO AT=T*PENDFOR(12)RETURN(8)A.INPUT“A=”TO AB.INPUT“I=”TO IC.INPUT“R=”TO STR(R)D.INPUT“K=”TOK
考题
在窗体中添加一个命令按钮,编写如下程序: Private Sub Test(p,m,n) p=p+1:m=m+1:n=n+1 Print "Sub: ";p;m;n End Sub Private Sub Command1.Click() a1=1:b=2:c1=3 Call Test((a,b1+3,(c1)) Print "Main:";a1;b1;c1 End Sub 程序运行后,输出结果为A.Sub: 2 6 4 Main: 2 6 4B.Sub: 2 6 4 Main: 2 6 4C.Sub: 2 6 4 Main: 1 2 3D.Sub: 2 6 4 Main: 2 2 3
考题
在窗体中添加一个命令按钮,编写如下程序:Private Sub Sub1(p,m,n)p=p+1:m=m+1:n=n+1Print "sub1:";p;m;nEnd SubPrivate Sub Command1_Click()a1=1:b=2:c1=3Call Sub1(a,b1+3,c1)Print"Main:";a1;b1;c1End Sub程序运行后,输出结果为A.Sub: 2 6 4 Main: 2 6 4B.Sub: 2 6 4 Main: 2 6 4C.Sub: 2 6 4 Main: 1 2 3D.Sub: 2 6 4 Main: 2 2 3
考题
在窗体上画了两个按钮控件Command1和Command2,有如下程序: Private Sub Command1_Click() Print "Visual"; End Sub Private Sub Command2_Click() Print "Basic"; End Sub Private Sub Form_Load() CommandCancel=True Command1.Cancel=True End Sub 执行程序后,按键盘Cancel键,在窗体上输出的结果是A.BasicB.VisualC.CancelD.True
考题
在窗体中添加一个命令按钮,编写如下程序: Private Sub Sub1(p,m,n) p=p+1:m=m+1:n=n+1 Print "sub1:";p;m;n End Sub Private Sub Command1_Click() a1=1:b=2:c1=3 Call Sub1(a,b1+3,c1) Print"Main:";a1;b1;c1 End Sub 程序运行后,输出结果为A.Sub: 2 6 4 Main: 2 6 4B.Sub: 2 6 4 Main: 2 6 4C.Sub: 2 6 4 Main: 1 2 3D.Sub: 2 6 4 Main: 2 2 3
考题
有如下Sub过程:Sub ind(a As Integer)Static x As Integerx= x + aPrint x:End Sub以下是调用它的事件过程,程序运行后,单击命令按纽Command1三次,输出结果为【 】。Private Sub Command1_Click()Ind 2End Sub
考题
class Super { public int i = 0; public Super(String text) { i = 1; } } public class Sub extends Super { public Sub(String text) { i = 2; } public static void main(String args[]) { Sub sub = new Sub(“Hello”); System.out.println(sub.i); } } What is the result?() A、 0B、 1C、 2D、 Compilation fails.
考题
设当前目录是根目录,使用第()组命令不能在一级子目录SUB1下建立二级子目录SUB11。A、CD SUB1(回车)MD SUB11B、MD SUB1/SUB11C、MD SUB11D、MD/SUB1/SUB11
考题
单选题变直径圆管流,细断面直径d1,粗断面直径d2=2d1,粗细断面雷诺数的关系是( )。A
pResub1/sub=0.5Resub2/sub/pB
pResub1/sub=Resub2/sub/pC
pResub1/sub=1.5Resub2/sub/pD
pResub1/sub=2Resub2/sub /p
考题
单选题假设X与y之间的相关系数为r1,y与x之间的相关系数为r2,则r1和r2之间的关系为()A
rsub1/sub>rsub2/subB
rsub1/sub=rsub2/subC
rsub1/sub<rsub2/subD
二者无关
考题
单选题class Super { public int i = 0; public Super(String text) { i = 1; } } public class Sub extends Super { public Sub(String text) { i = 2; } public static void main(String args[]) { Sub sub = new Sub(“Hello”); System.out.println(sub.i); } } What is the result?()A
0B
1C
2D
Compilation fails.
考题
单选题永续盘存法公式为()A
Ksubt/sub+1=Isubt/sub-(1-δ)Ksubt/subB
Ksubt/sub+1=It+(1-δ)Ksubt/subC
Ksubt/sub+1=Isubt/sub+(1+δ)Ksubt/subD
Ksubt/sub+1=Isubt/sub-(1+δ)Ksubt/sub
考题
单选题饱和蒸气分别在形状、尺寸、温度都相同的A、B两个等温垂直壁面上凝结,其中A上面是珠状凝结,B板上是膜状凝结。若两个壁面上的凝结传热量分别为QA和QB则( )。A
pQsubA/sub =QsubB/sub/pB
pQsubA/subQsubB/sub/pC
pQsubA/subQsubB/sub/pD
pQsubA/sub =QsubB/sub/2/p
考题
单选题A
pIsub2/sub=Isub3/sub/pB
pIsub2/sub=4Isub3/sub/pC
pIsub2/sub=2Isub3/sub/pD
pIsub3/sub=4Isub2/sub/p
考题
多选题标准砝码的质量为m,测量得到的最佳估计值为100.02147g,合成标准不确定uc(ms) 为0.35mg,取包含因子k=2,以下表示的测量结果中 ( ) 是正确的。Apmsubs/sub=100.02147g;U=0.70mg,k=2/pBpmsubs/sub=(100.02147±0.00070)g;k=2/pCpmsubs/sub=100.02147g;usubc/sub(msubs/sub)=0.35mg,k=1/pDpmsubs/sub=100.02147g;usubc/sub(msubs/sub)=0.35mg/p
考题
多选题下列表示中____的表示形式是正确的。ApUsub95/sub= 1%,vsubeff/sub =9 /pBpUsubr/sub= 1%,k=2 /pCpusubC/sub=0. 5% /pDpusubC/sub=±0 5%.k=1 /p
考题
多选题在过程控制中,若TL=-3,Tu=3,u=1,σ=1,则( )。ACsubP/sub=1 BCsubP/sub=2/3 CCsubPk/sub=1 DCsubPk/sub=2/3
考题
单选题已知某线声源长度为l0,在线声源垂直平分线上距线声源r0和r的分别为Lp(r0)和Lp(r),根据《环境影响评价技术导则声环境》,按公式Lp(r)=Lp(r0)-15lg(r/r0)近似计算该线声源的噪声影响时,应满足的条件是()。A
prIsub0/sub且rsub0/subIsub0/sub /pB
prIsub0/sub/3且rsub0/subIsub0/sub/3 /pC
pIsub0/sub/3rspanI/spansub0/sub且Isub0/sub/3rsub0/subr0Isub0/sub /r0/pD
p无条件限制 /p
热门标签
最新试卷