• 2021-04-14 问题

    【单选题】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]

    【单选题】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]

  • 2021-04-14 问题

    以下程序的输出是 ___。main() {char a[2][5]={”6937”,”8254”}; int i,j,s=0; for ( i = 0; i < 2; i++ ) for ( j = 0; a[i][j]>’0’ && a[i][j]<=’9’; j+=2 ) s=10*s+a[i][j]-’0’; printf(”s=%d\n”,s);}

    以下程序的输出是 ___。main() {char a[2][5]={”6937”,”8254”}; int i,j,s=0; for ( i = 0; i < 2; i++ ) for ( j = 0; a[i][j]>’0’ && a[i][j]<=’9’; j+=2 ) s=10*s+a[i][j]-’0’; printf(”s=%d\n”,s);}

  • 2022-06-07 问题

    设有如下代码段 1 String s = null; 2 if ( s != null & s.length() > 0) 3 System.out.println("s != null & s.length() > 0"); 4 if ( s != null && s.length() > 0) 5 System.out.println("s != null & s.length() > 0"); 6 if ( s != null || s.length() > 0) 7 System.out.

    设有如下代码段 1 String s = null; 2 if ( s != null & s.length() > 0) 3 System.out.println("s != null & s.length() > 0"); 4 if ( s != null && s.length() > 0) 5 System.out.println("s != null & s.length() > 0"); 6 if ( s != null || s.length() > 0) 7 System.out.

  • 2021-04-14 问题

    【单选题】如图示代码,下面哪个是正确的输出结果 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

    【单选题】如图示代码,下面哪个是正确的输出结果 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

  • 2022-06-06 问题

    设两个向量组α1,α2,...,αs和β1,β2,...,βs均线性相关,则() A: 有不全为0的数λ1,λ2,…,λs使λ1α1+λ2α2+…+λsαs=0和λ1β1+λ2β2+…λsβs=0 B: 有不全为0的数λ1,λ2,…,λs使λ1(α1+β1)+λ2(α2+β2)+…+λs(αs+βs)=0 C: 有不全为0的数λ1,λ2,…,λs使λ1(α1-β1)+λ2(α2-β2)+…+λs(αs-βs)=0 D: 有不全为0的数λ1,λ2,…,λs和不全为0的数μ1,μ2,…,μs使λ1α1+λ2α2+…+λsαs=0和μ1β1+μ2β2+…+μsβs=0

    设两个向量组α1,α2,...,αs和β1,β2,...,βs均线性相关,则() A: 有不全为0的数λ1,λ2,…,λs使λ1α1+λ2α2+…+λsαs=0和λ1β1+λ2β2+…λsβs=0 B: 有不全为0的数λ1,λ2,…,λs使λ1(α1+β1)+λ2(α2+β2)+…+λs(αs+βs)=0 C: 有不全为0的数λ1,λ2,…,λs使λ1(α1-β1)+λ2(α2-β2)+…+λs(αs-βs)=0 D: 有不全为0的数λ1,λ2,…,λs和不全为0的数μ1,μ2,…,μs使λ1α1+λ2α2+…+λsαs=0和μ1β1+μ2β2+…+μsβs=0

  • 2021-04-14 问题

    设有如下代码段 1 String s = null; 2 if ( s != null & s.length() > 0) 3 System.out.println("s != null & s.length() > 0"); 4 if ( s != null && s.length() > 0) 5 System.out.println("s != null & s.length() > 0"); 6 if ( s != null || s.length() > 0) 7 System.out.println("s != null & s.length() > 0"); 8 if ( s != null | s.length() > 0) 9 System.out.println("s != null | s.length() > 0"); 哪些行将抛出空指针异常?

    设有如下代码段 1 String s = null; 2 if ( s != null & s.length() > 0) 3 System.out.println("s != null & s.length() > 0"); 4 if ( s != null && s.length() > 0) 5 System.out.println("s != null & s.length() > 0"); 6 if ( s != null || s.length() > 0) 7 System.out.println("s != null & s.length() > 0"); 8 if ( s != null | s.length() > 0) 9 System.out.println("s != null | s.length() > 0"); 哪些行将抛出空指针异常?

  • 2021-04-14 问题

    串S='aaab',其next数组为()? 0 2 0 0|0 1 2 0|-1 0 1 2|0 0 1 2

    串S='aaab',其next数组为()? 0 2 0 0|0 1 2 0|-1 0 1 2|0 0 1 2

  • 2022-05-28 问题

    (多选题)(),4,9,16,27,38,()。 A: 0 B: 2 C: 53 D: 68

    (多选题)(),4,9,16,27,38,()。 A: 0 B: 2 C: 53 D: 68

  • 2022-06-09 问题

    以下程序的运行结果是s=2,t=3#include ;using namespace std;int main(){ int s=1,t=1,a=5,b=2; if (a>;0) s++; if (a>;b) t+=s; else if (a==b) t=5; else t=2*s; cout return 0;}

    以下程序的运行结果是s=2,t=3#include ;using namespace std;int main(){ int s=1,t=1,a=5,b=2; if (a>;0) s++; if (a>;b) t+=s; else if (a==b) t=5; else t=2*s; cout return 0;}

  • 2022-06-05 问题

    执行下列代码段后,s的值为________。 int a&#91;&#93; = {5, 3, 7, 2, 1, 5, 3, 10}; int k, s = 0; for(k = 0; k < 8; k += 2) s += a&#91;k&#93;;

    执行下列代码段后,s的值为________。 int a&#91;&#93; = {5, 3, 7, 2, 1, 5, 3, 10}; int k, s = 0; for(k = 0; k < 8; k += 2) s += a&#91;k&#93;;

  • 1 2 3 4 5 6 7 8 9 10