下列代码段执行后的结果是()int[] a = { 1, 3, 5, 2, 4 };int j = 4;for (int i = 0; i <; 5; i++) { a[i] = a[j]; j--;}for (int i = 0; i <; 5; i++) System.out.print(a[i] + " ");[/i][/i] A: 1 2 3 4 5 B: 5 4 3 2 1 C: 4 2 5 2 4 D: 4 2 5 3 1
下列代码段执行后的结果是()int[] a = { 1, 3, 5, 2, 4 };int j = 4;for (int i = 0; i <; 5; i++) { a[i] = a[j]; j--;}for (int i = 0; i <; 5; i++) System.out.print(a[i] + " ");[/i][/i] A: 1 2 3 4 5 B: 5 4 3 2 1 C: 4 2 5 2 4 D: 4 2 5 3 1
已知 HI 的光分解反应机理是: HI + hν→ H + I H + HI→ H2 + I I + I + M→ I2 + M 则该反应的量子效率为:() A: 1 B: 2 C: 4 D: 10
已知 HI 的光分解反应机理是: HI + hν→ H + I H + HI→ H2 + I I + I + M→ I2 + M 则该反应的量子效率为:() A: 1 B: 2 C: 4 D: 10
产生并输出如下形式的方阵。 1 2 2 2 2 2 1 3 1 2 2 2 1 4 3 3 1 2 1 4 4 3 3 3 1 4 4 4 3 3 1 5 1 4 4 3 1 5 5 5 1 4 1 5 5 5 5 5 1 #include "stdio.h" int main() { int a[7][7],i,j; for(i=0;i<7;i++) for(j=0;j<7;j++) if( (1) || i+j==6) a[i][j]=1; else if ( (2) &&i+j<6) a[i][j]=2; else if (i>j&&i+j<6) a[i][j]=3; else if (i i==j ; j==i ii i+j>6; j+i>6; 6
产生并输出如下形式的方阵。 1 2 2 2 2 2 1 3 1 2 2 2 1 4 3 3 1 2 1 4 4 3 3 3 1 4 4 4 3 3 1 5 1 4 4 3 1 5 5 5 1 4 1 5 5 5 5 5 1 #include "stdio.h" int main() { int a[7][7],i,j; for(i=0;i<7;i++) for(j=0;j<7;j++) if( (1) || i+j==6) a[i][j]=1; else if ( (2) &&i+j<6) a[i][j]=2; else if (i>j&&i+j<6) a[i][j]=3; else if (i i==j ; j==i ii i+j>6; j+i>6; 6
某事故树的最小割集为:{x1},{x2,x3},{x2,x4,x5},则结构重要程度为()。 A: I(4)>;I(2)>;I(3)>;I(1)=I(5) B: I(1)>;I(2)>;I(3)>;I(4)=I(5) C: I(1)>;I(5)>;I(3)>;I(4)=I(2) D: I(5)>;I(3)>;I(2)>;I(1)=I(4)
某事故树的最小割集为:{x1},{x2,x3},{x2,x4,x5},则结构重要程度为()。 A: I(4)>;I(2)>;I(3)>;I(1)=I(5) B: I(1)>;I(2)>;I(3)>;I(4)=I(5) C: I(1)>;I(5)>;I(3)>;I(4)=I(2) D: I(5)>;I(3)>;I(2)>;I(1)=I(4)
【单选题】某多级减速器各级速比i 1 =2、i 2 =3、i 3 =4、i 4 =3,则总速比()。 A. i=i 1 +i 2 +i 3 +i 4 =12 B. i=i 1 ×i 2 ×i 3 ×i 4 =72 C. i=3(i 1 +i 2 +i 3 )=48 D. 不能求得
【单选题】某多级减速器各级速比i 1 =2、i 2 =3、i 3 =4、i 4 =3,则总速比()。 A. i=i 1 +i 2 +i 3 +i 4 =12 B. i=i 1 ×i 2 ×i 3 ×i 4 =72 C. i=3(i 1 +i 2 +i 3 )=48 D. 不能求得
下面程序运行后,输出结果是( )。#include ;main( ){ int a[10]={1,2,3,4,5,6},i,j; for(i=0;i { j=a[i];a[i]=a[5-i];a[5-i]=j;} for(i=0;i}[/i][/i] A: 1 5 4 3 2 6 B: 1 5 3 4 2 6 C: 6 5 4 3 2 1 D: 1 2 3 4 5 6
下面程序运行后,输出结果是( )。#include ;main( ){ int a[10]={1,2,3,4,5,6},i,j; for(i=0;i { j=a[i];a[i]=a[5-i];a[5-i]=j;} for(i=0;i}[/i][/i] A: 1 5 4 3 2 6 B: 1 5 3 4 2 6 C: 6 5 4 3 2 1 D: 1 2 3 4 5 6
for(let i=0;i<5;i++){print(i);}print(i); A: 1 2 3 4 5 B: 0 1 2 3 4 C: referenceError:I is not defined D: 4
for(let i=0;i<5;i++){print(i);}print(i); A: 1 2 3 4 5 B: 0 1 2 3 4 C: referenceError:I is not defined D: 4
Public Sub Proc(a%( )) Static i% Do a(i) = a(i) + a(i + 1) i = i + 1 Loop While i < 2 End Sub Private Sub Command1_Click( ) Dim m%, i%, x%(10) For i = 0 To 4: x(i) = i + 1: Next i For i = 1 To 2: Call Proc(x): Next i For i = 0 To 4: Print x(i);: Next i End Sub A: 3 4 7 5 6 B: 3 5 7 4 5 C: 2 3 4 4 5 D: 4 5 6 7 8
Public Sub Proc(a%( )) Static i% Do a(i) = a(i) + a(i + 1) i = i + 1 Loop While i < 2 End Sub Private Sub Command1_Click( ) Dim m%, i%, x%(10) For i = 0 To 4: x(i) = i + 1: Next i For i = 1 To 2: Call Proc(x): Next i For i = 0 To 4: Print x(i);: Next i End Sub A: 3 4 7 5 6 B: 3 5 7 4 5 C: 2 3 4 4 5 D: 4 5 6 7 8
下列程序的运行结果为( )。 Option Base 1 Private Sub Command1_Click() a = Array(237, 126, 87, 48, 498) m1 = a(1) m2 = 1 For i = 2 To 5 If a(i) > m1 Then m1 = a(i) m2 = i End If Next i Print m1, m2 End Sub A: 48 42 B: 37 14 C: 498 5 D: 98 4
下列程序的运行结果为( )。 Option Base 1 Private Sub Command1_Click() a = Array(237, 126, 87, 48, 498) m1 = a(1) m2 = 1 For i = 2 To 5 If a(i) > m1 Then m1 = a(i) m2 = i End If Next i Print m1, m2 End Sub A: 48 42 B: 37 14 C: 498 5 D: 98 4
有一数组如下定义:int a[6]={1,2,3,4,5}; 执行for (i=0; i<6;i++) printf ("%d ",a[i]);后输出的结果是___________。[/i] A: 1 2 3 4 5 5 B: 1 2 3 4 5 6 C: 1 2 3 4 5 随机值 D: 1 2 3 4 5 0
有一数组如下定义:int a[6]={1,2,3,4,5}; 执行for (i=0; i<6;i++) printf ("%d ",a[i]);后输出的结果是___________。[/i] A: 1 2 3 4 5 5 B: 1 2 3 4 5 6 C: 1 2 3 4 5 随机值 D: 1 2 3 4 5 0