下列哪条语句是正确的( ) A: A=[1 2;3 4];B=[3;7];A.*B; B: A=cell(2,3);A(1,2)=[4;5]; C: A=[2 3 5 7;9 4 6 1;7 3 2 5];B=[1 7;0 5];A(2:end,2:2:end) D: x=-5:5;y=-5:5;z=x.*x-y.*y;surf(x,y,z);
下列哪条语句是正确的( ) A: A=[1 2;3 4];B=[3;7];A.*B; B: A=cell(2,3);A(1,2)=[4;5]; C: A=[2 3 5 7;9 4 6 1;7 3 2 5];B=[1 7;0 5];A(2:end,2:2:end) D: x=-5:5;y=-5:5;z=x.*x-y.*y;surf(x,y,z);
【单选题】设全集U={x|-7≤x≤7},A={x|-1≤x4},B={x|-2≤x≤3},Cu(A∪B)= A. {x|-7≤x≤-1} B. {x|-7≤x≤-1或3<x≤7} C. {x|-7≤x<2或4≤x≤7} D. {4≤x≤7}
【单选题】设全集U={x|-7≤x≤7},A={x|-1≤x4},B={x|-2≤x≤3},Cu(A∪B)= A. {x|-7≤x≤-1} B. {x|-7≤x≤-1或3<x≤7} C. {x|-7≤x<2或4≤x≤7} D. {4≤x≤7}
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
若2x+y=z,4x=7y+5z,则x:y:z=( ). A: 2:1:3 B: 2:1:1 C: 2:(-1):3 D: 4:7:5
若2x+y=z,4x=7y+5z,则x:y:z=( ). A: 2:1:3 B: 2:1:1 C: 2:(-1):3 D: 4:7:5
若2x+y=x,4x-7y+5z,则x:y:z=()。 A: 2:1:3 B: 2:1:1 C: 2:( -1):3 D: 4:7:5
若2x+y=x,4x-7y+5z,则x:y:z=()。 A: 2:1:3 B: 2:1:1 C: 2:( -1):3 D: 4:7:5
下列程序运行时输出的结果是 Option Base 1 Private Sub Form_Click() Dim x (10)As Integer,y(5)As Integer For i=1 to 10 x(i)=10-i+1 Next For i=1 to 5 y(i)=x(2*i-1)+x(2*i) Next For i=1 to 5 Print y(i) Next End Sub A.3 7 11 45 19 B.19 15 11 7 3 C.1 3 5 7 9 D.不确定的值
下列程序运行时输出的结果是 Option Base 1 Private Sub Form_Click() Dim x (10)As Integer,y(5)As Integer For i=1 to 10 x(i)=10-i+1 Next For i=1 to 5 y(i)=x(2*i-1)+x(2*i) Next For i=1 to 5 Print y(i) Next End Sub A.3 7 11 45 19 B.19 15 11 7 3 C.1 3 5 7 9 D.不确定的值
下列MATLAB语句运行有误的是() A: A=[1 2;3 4];B=[3;7];AB B: A=ones(3,3);A(1,2:3)=[4,5] C: A=[2 3 5 7;9 4 6 1;7 3 2 5];B=[1 7;0 5];A(2:end,2:2:end)>B D: x=-5:5;y=-5:5;z=xx-yy
下列MATLAB语句运行有误的是() A: A=[1 2;3 4];B=[3;7];AB B: A=ones(3,3);A(1,2:3)=[4,5] C: A=[2 3 5 7;9 4 6 1;7 3 2 5];B=[1 7;0 5];A(2:end,2:2:end)>B D: x=-5:5;y=-5:5;z=xx-yy
下列程序段的执行结果是( )。 x = 5: y = 7: z = 8 If x < y Then t = x: x = y: y = t End If If y < z Then t = y: y = z: z = t If x < y Then t = x: x = y: y = t End If End If Print x, y, z A: 8 5 7 B: 8 7 5 C: 5 7 8 D: 7 5 8
下列程序段的执行结果是( )。 x = 5: y = 7: z = 8 If x < y Then t = x: x = y: y = t End If If y < z Then t = y: y = z: z = t If x < y Then t = x: x = y: y = t End If End If Print x, y, z A: 8 5 7 B: 8 7 5 C: 5 7 8 D: 7 5 8
设全集U=R,集合A={x|2≤x<7},B={x>5},求
设全集U=R,集合A={x|2≤x<7},B={x>5},求
下列程序段的执行结果为 i=9 x=5 Do i=i + 1 x=x + 2 Loop Until i>=7 Print "i=":i Print "x=":X A.i=4x=5 B.i=7x=15 C.i=6x=8 D.i=10x=7
下列程序段的执行结果为 i=9 x=5 Do i=i + 1 x=x + 2 Loop Until i>=7 Print "i=":i Print "x=":X A.i=4x=5 B.i=7x=15 C.i=6x=8 D.i=10x=7