求 [tex=6.214x1.5]Y5b4a9EU5fDvSzOe7qlEvvUS+Jfnbx5D4PQojK1wFqGh3x1cGz1+F0kkLp7rjlCNSWUhx4/j3BruHQz/DK/fVg==[/tex]
举一反三
- 下列哪条语句是正确的( ) 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);
- 【单选题】Which of the following matrices does not have the same determinant of matrix B: [1, 3, 0, 2; -2, -5, 7, 4; 3, 5, 2, 1; -1, 0, -9,-5] A. [1, 3, 0, 2; -2, -5, 7, 4; 0, 0, 0, 0; -1, 0, -9, -5] B. [1, 3, 0, 2; -2, -5, 7, 4; 1, 0, 9, 5; -1, 0, -9, -5] C. [1, 3, 0, 2; -2, -5, 7, 4; 3, 5, 2, 1; -3, -5, -2, -1] D. [1, 3, 0, 2; -2, -5, 7, 4; 0, 0, 0, 1; -1, 0, -9, -5]
- set1 = {x for x in range(10)} print(set1) 以上代码的运行结果为? A: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} B: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10} C: {1, 2, 3, 4, 5, 6, 7, 8, 9} D: {1, 2, 3, 4, 5, 6, 7, 8, 9,10}
- 有代码片段:function f(y) {var x=y*y;return x;} for(var x=0;x< 5;x++) {y=f(x);document.writeln(y);}输出结果是( )。 A: 0 1 2 3 4 B: 0 1 4 9 16 C: 0 1 4 9 16 25 D: 0 1 2 3 4 5
- >>>x= [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9]>>>print(x.sort()) 语句运行结果正确的是( )。 A: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] B: [10, 6, 0, 1, 7, 4, 3, 2, 8, 5, 9] C: [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0] D: ['2', '4', '0', '6', '10', '7', '8', '3', '9', '1', '5']