若x=[1 2 3 4 5];y=[2 -1 4 3 -2];则z=x.*y=()
若x=[1 2 3 4 5];y=[2 -1 4 3 -2];则z=x.*y=()
下列哪条语句是正确的( ) 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);
执行以下语句的结果:dict1={"x":1,"y":2,"z":3}dict2={"x":4,"a":5}dict1.update(dict2) A: {"x":1,"y":2,"z":3,"x":4,"a":5} B: {"x":4,"a":5,"x":1,"y":2,"z":3} C: 有重复项,结果有误! D: {"x":4,"y":2,"z":3,"a":5}
执行以下语句的结果:dict1={"x":1,"y":2,"z":3}dict2={"x":4,"a":5}dict1.update(dict2) A: {"x":1,"y":2,"z":3,"x":4,"a":5} B: {"x":4,"a":5,"x":1,"y":2,"z":3} C: 有重复项,结果有误! D: {"x":4,"y":2,"z":3,"a":5}
int x=3,y,z;<br/>y=-x++;<br/>z=y+8/++x;<br/>Console.WriteLine{{0},{1},{2}",x,y,z);<br/>此程序的输出结果是____。 A: 5,-3,-2 B: 4,-3,-1 C: 4,-4,-2 D: 5,-4,-2
int x=3,y,z;<br/>y=-x++;<br/>z=y+8/++x;<br/>Console.WriteLine{{0},{1},{2}",x,y,z);<br/>此程序的输出结果是____。 A: 5,-3,-2 B: 4,-3,-1 C: 4,-4,-2 D: 5,-4,-2
(4)、若X与Y独立,Z与Y的相关系数为 A: -4/5 B: -1 C: -1/2 D: -2/5
(4)、若X与Y独立,Z与Y的相关系数为 A: -4/5 B: -1 C: -1/2 D: -2/5
设A=,且A的特征值为1,2,3,则有() A: x=2,y=4,z=8 B: x=-1,y=4,z∈R C: x=-2,y=2,z∈R D: x=-1,y=4,z=3
设A=,且A的特征值为1,2,3,则有() A: x=2,y=4,z=8 B: x=-1,y=4,z∈R C: x=-2,y=2,z∈R D: x=-1,y=4,z=3
已知直线的一般方程\( \left\{ {\matrix{ {x - 2y - z + 4 = 0} \cr {5x + y - 2z + 8 = 0} \cr } } \right. \), 则其点向式方程为( ) A: \( { { x - 2} \over 2} = {y \over { - 3}} = { { z - 4} \over {11}} \) B: \( {x \over 5} = {y \over { - 3}} = { { z - 4} \over {11}} \) C: \( { { x - 2} \over 5} = { { y + 1} \over { - 3}} = { { z - 4} \over {11}} \) D: \( { { x - 2} \over 2} = { { y + 1} \over { - 3}} = { { z - 4} \over {11}} \)
已知直线的一般方程\( \left\{ {\matrix{ {x - 2y - z + 4 = 0} \cr {5x + y - 2z + 8 = 0} \cr } } \right. \), 则其点向式方程为( ) A: \( { { x - 2} \over 2} = {y \over { - 3}} = { { z - 4} \over {11}} \) B: \( {x \over 5} = {y \over { - 3}} = { { z - 4} \over {11}} \) C: \( { { x - 2} \over 5} = { { y + 1} \over { - 3}} = { { z - 4} \over {11}} \) D: \( { { x - 2} \over 2} = { { y + 1} \over { - 3}} = { { z - 4} \over {11}} \)
设有下列语句序列:(x>;1)and(y<;=5)thenz←x*y;sez←x+y;z=12thenz←2*z。用判定条件覆盖法进行测试,则应选用()为测试用例。 A: x=1,y=12;x=4,y=7 B: x=2,y=1;x=3,y=3 C: x=3,y=4;x=1,y=9 D: x=4,y=5;x=1,y=6
设有下列语句序列:(x>;1)and(y<;=5)thenz←x*y;sez←x+y;z=12thenz←2*z。用判定条件覆盖法进行测试,则应选用()为测试用例。 A: x=1,y=12;x=4,y=7 B: x=2,y=1;x=3,y=3 C: x=3,y=4;x=1,y=9 D: x=4,y=5;x=1,y=6
在MATLAB的Editor中输入下列语句:x=[13;24];y=norm(x(:,2));z=det(x);u=diag(x);v=polyval(u,1);运行后,在CommandWindow中对应y,z,u,v的输出结果为() A: 4 2 [1;2] 3 B: 4 -2 [1;4] 5 C: 5 2 [1;2] 3 D: 5 -2 [1;4] 5
在MATLAB的Editor中输入下列语句:x=[13;24];y=norm(x(:,2));z=det(x);u=diag(x);v=polyval(u,1);运行后,在CommandWindow中对应y,z,u,v的输出结果为() A: 4 2 [1;2] 3 B: 4 -2 [1;4] 5 C: 5 2 [1;2] 3 D: 5 -2 [1;4] 5
x=2,y=5,z=3 (x>y)+z*4=?
x=2,y=5,z=3 (x>y)+z*4=?