一个点(Px, Py, Pz)的齐次坐标描述为( ) A: [Px, Py, Pz]T B: [Px, Py, Pz, 0]T C: [Px, Py, Pz, 1]T D: (Px, Py, Pz)
一个点(Px, Py, Pz)的齐次坐标描述为( ) A: [Px, Py, Pz]T B: [Px, Py, Pz, 0]T C: [Px, Py, Pz, 1]T D: (Px, Py, Pz)
intx=5,y=8,z=7;表达式z=!(x>y)||(x=1,y=3)计算后的结果 A: x=1,y=3,z=1 B: x=1,y=3,z=0 C: x=5,y=8,z=0 D: x=5,y=8,z=1
intx=5,y=8,z=7;表达式z=!(x>y)||(x=1,y=3)计算后的结果 A: x=1,y=3,z=1 B: x=1,y=3,z=0 C: x=5,y=8,z=0 D: x=5,y=8,z=1
【单选题】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]
有语句:k=x<y(y<z1:0):0;,以下选项中,与此语句功能相同的是( )。 A: if(x<y || y<z)k=1;else k=0; B: if(x<y)k=0;else if(y<z)k=1; C: if(x<y)if(y<z)k=1;else k=0; D: if(x<y&&y<z)k=1;else k=0;
有语句:k=x<y(y<z1:0):0;,以下选项中,与此语句功能相同的是( )。 A: if(x<y || y<z)k=1;else k=0; B: if(x<y)k=0;else if(y<z)k=1; C: if(x<y)if(y<z)k=1;else k=0; D: if(x<y&&y<z)k=1;else k=0;
【单选题】下面程序段的输出结果是 () 。 int k,a[3][3]={1,2,3,4,5,6,7,8,9}; for (k=0;k<3;k++) printf(“%d”,a[k][2-k]); ( A ) 3 5 7 ( B ) 3 6 9 ( C ) 1 5 9 ( D ) 1 4 7 A. 3 5 7 B. 3 6 9 C. 1 5 9 D. ( A ) 1 4 7
【单选题】下面程序段的输出结果是 () 。 int k,a[3][3]={1,2,3,4,5,6,7,8,9}; for (k=0;k<3;k++) printf(“%d”,a[k][2-k]); ( A ) 3 5 7 ( B ) 3 6 9 ( C ) 1 5 9 ( D ) 1 4 7 A. 3 5 7 B. 3 6 9 C. 1 5 9 D. ( A ) 1 4 7
下列程序的输出结果是( )。 x=0 k=10 while k>0: k-=1 if k<5: break x+=1 print(x) A: 5 B: 7 C: 9 D: 10
下列程序的输出结果是( )。 x=0 k=10 while k>0: k-=1 if k<5: break x+=1 print(x) A: 5 B: 7 C: 9 D: 10
(1)5 7 9 11() () ()()(2)26 23 20 17()() 8()(3)1 2 4 7 11() () 29(4)7 3 8 3 9 3()()(5)1 1 2 3 5 8()()
(1)5 7 9 11() () ()()(2)26 23 20 17()() 8()(3)1 2 4 7 11() () 29(4)7 3 8 3 9 3()()(5)1 1 2 3 5 8()()
以下能够实现计算5!的程序段是( ) A: int fac=1,k=0;do{ k++; fac*=k;} while(k<;5); B: int fac=0,k=1;do{ fac*=k; k++;} while(k<;5); C: int fac=1,k=1;do{ k++; fac*=k;} while(k<;=5); D: int fac=1,k=0;do{ fac*=k; k++;} while(k<;5);
以下能够实现计算5!的程序段是( ) A: int fac=1,k=0;do{ k++; fac*=k;} while(k<;5); B: int fac=0,k=1;do{ fac*=k; k++;} while(k<;5); C: int fac=1,k=1;do{ k++; fac*=k;} while(k<;=5); D: int fac=1,k=0;do{ fac*=k; k++;} while(k<;5);
下列程序段的执行结果为 a=5 For k=1 To 0 a=a * k Next k Print k;a A: -1 6 B: -1 16 C: 1 5 D: 11 21
下列程序段的执行结果为 a=5 For k=1 To 0 a=a * k Next k Print k;a A: -1 6 B: -1 16 C: 1 5 D: 11 21
若K=0时Z=A,K=1时Z=B,下列哪个语法描述有误 A: process begin if K='0' then Z<=A; else Z<=B; end if; end process; B: With K select Z<=A when '0', B when '1', 'X' when others; C: Z<=A when K='0' else B when K='1'; D: Z<= (not K and A) or (K and B);
若K=0时Z=A,K=1时Z=B,下列哪个语法描述有误 A: process begin if K='0' then Z<=A; else Z<=B; end if; end process; B: With K select Z<=A when '0', B when '1', 'X' when others; C: Z<=A when K='0' else B when K='1'; D: Z<= (not K and A) or (K and B);