举一反三
- 【单选题】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]
- [tex=13.5x1.286]vKc1O0SBU2qDeZiVVQOdKrPGUnfpwVAMPAqZ9Vv7EDzIoqJ+dsw1Bi5MAm1ErILx5diptA352j5JhaGjxYgCvA==[/tex][br][/br][tex=11.714x1.357]BVHToe/5ebILTzZoe7zH15ZTlqkOmAR8xhgIRL04lg4=[/tex]
- set1 = {x for x in range(10) if x%2!=0} set1.remove(1) print(set1) 以上代码的运行结果为? A: {1, 3, 5, 7, 9} B: {1, 3, 5, 7} C: {3, 5, 7, 9} D: {3, 5, 7}
- >>>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']
- set1 = {x for x in range(10) if x%2!=0} print(set1) 以上代码的运行结果为? A: {1, 3, 5, 7, 9} B: {1, 3, 5, 7} C: {3, 5, 7, 9} D: {3, 5, 7}
内容
- 0
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}
- 1
求下面矩阵的 Cholesky 分解 (다음 행렬의 Cholesky factorization을 구하시오). \begin{bmatrix}<br/>1\ \,\, 3\ \,\, 7\\ <br/>3\ 10\ 26\\ <br/>7\ 26\ 75\\<br/>\end{bmatrix} A: \(U=\begin{bmatrix}<br/>1\ 3\ 7\\ <br/>0\ 1\ 5\\ <br/>0\ 0\ 1\\<br/>\end{bmatrix}\) B: \(U=\begin{bmatrix}<br/>1\ 2\ 7\\ <br/>0\ 3\ 5\\ <br/>0\ 0\ 1\\<br/>\end{bmatrix}\) C: \(U=\begin{bmatrix}<br/>1\ 3\ 7\\ <br/>0\ 2\ 5\\ <br/>0\ 0\ 1\\<br/>\end{bmatrix}\) D: \(U=\begin{bmatrix}<br/>1\ 3\ 1\\ <br/>0\ 1\ 5\\ <br/>0\ 0\ 7\\<br/>\end{bmatrix}\) E: \(U=\begin{bmatrix}<br/>1\ 2\ 7\\ <br/>0\ 3\ 1\\ <br/>0\ 0\ 1\\<br/>\end{bmatrix}\)
- 2
设二维离散随机变量[tex=2.5x1.357]PWg5V4GQQafckGNgbx6gmw==[/tex]的可能值为(0, 0),(−1, 1),(−1, 2),(1, 0),且取这些值的概率依次为1/6, 1/3, 1/12, 5/12,试求[tex=0.857x1.0]N7iCrOsS+NNEUUlnsYCi1g==[/tex]与[tex=0.643x1.0]O+viFNA0oHTwnBtQyi80Zw==[/tex] 各自的边际分布列.
- 3
以下数组定义中,错误的是( )。 A: int<br/>x[2][3] ={1, 2, 3, 4, 5, 6} ; B: int<br/>x[][3] ={0} ; C: int<br/>x[][3] ={{1, 2, 3} , {4, 5, 6} } ; D: int<br/>x[2][3] ={{1, 2} , {3, 4} , {5, 6} } ;
- 4
【单选题】如图示代码,下面哪个是正确的输出结果 A. 0 1 2 3 4 5 B. 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 C. 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 D. 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5