相互独立的随机变量X和Y的方差分别为4和1,X期望为4,Y的期望为1,则X-4Y的方差是______。 A: 0 B: 8 C: 16 D: 20
相互独立的随机变量X和Y的方差分别为4和1,X期望为4,Y的期望为1,则X-4Y的方差是______。 A: 0 B: 8 C: 16 D: 20
如下C程序的输出是什么?#include [stdio.h]void Func1 (int x, int y);void Func2 (int *x, int *y); int main() { int x = 3; int y = 4;Func1 (x, y); printf ("x = %d, y = %d\n", x, y);Func2(&x, &y); printf ("x = %d, y = %d\n", x, y);} void Func1 (int x, int y) { x = x + y; y = x - y; x = x - y; printf ("x = %d, y = %d\n", x, y);} void Func2 (int *x, int *y) { *x = *x + *y; *y = *x - *y; *x = *x - *y;;} A: x = 3, y = 4x = 3, y = 4x = 3, y = 4 B: x = 4, y = 3x = 4, y = 3x = 4, y = 3 C: x = 3, y = 4x = 3, y = 4x = 4, y = 3 D: x = 4, y = 3x = 3, y = 4x = 4, y = 3
如下C程序的输出是什么?#include [stdio.h]void Func1 (int x, int y);void Func2 (int *x, int *y); int main() { int x = 3; int y = 4;Func1 (x, y); printf ("x = %d, y = %d\n", x, y);Func2(&x, &y); printf ("x = %d, y = %d\n", x, y);} void Func1 (int x, int y) { x = x + y; y = x - y; x = x - y; printf ("x = %d, y = %d\n", x, y);} void Func2 (int *x, int *y) { *x = *x + *y; *y = *x - *y; *x = *x - *y;;} A: x = 3, y = 4x = 3, y = 4x = 3, y = 4 B: x = 4, y = 3x = 4, y = 3x = 4, y = 3 C: x = 3, y = 4x = 3, y = 4x = 4, y = 3 D: x = 4, y = 3x = 3, y = 4x = 4, y = 3
假设x=4,y=5,下列哪个逻辑表达式是真的? A: !(x==4)^y!=5 B: x!=4^y==5 C: x==5^y==4 D: x!=5^y!=4
假设x=4,y=5,下列哪个逻辑表达式是真的? A: !(x==4)^y!=5 B: x!=4^y==5 C: x==5^y==4 D: x!=5^y!=4
x=9,y=4,x%y=______ ,x//y=______
x=9,y=4,x%y=______ ,x//y=______
已有定义语句:int x=2,y=4,z=6;if(x>y) z=x;x=y;y=z;执行上述语句后x,y,z的值是____。 A: x=4,y=2,z=2 B: x=4,y=4,z=2 C: x=4,y=6,z=6 D: x=4,y=2,z=6
已有定义语句:int x=2,y=4,z=6;if(x>y) z=x;x=y;y=z;执行上述语句后x,y,z的值是____。 A: x=4,y=2,z=2 B: x=4,y=4,z=2 C: x=4,y=6,z=6 D: x=4,y=2,z=6
已知int x=3,y=4;,写出下列表达式的值 (1) (x,y) (2) x>y?x:y (3) x?y:x (4) (x>y)?(y>=2)?1:2:(y>x)?x:y
已知int x=3,y=4;,写出下列表达式的值 (1) (x,y) (2) x>y?x:y (3) x?y:x (4) (x>y)?(y>=2)?1:2:(y>x)?x:y
假设x=4,y=5,x!=4^y==5
假设x=4,y=5,x!=4^y==5
应用Matlab软件计算行列式[img=110x88]17da5d7b00219d6.png[/img]为( ). A: x^2 - 6*x^2*y^2 + 8*x*y^3 - 3*y^4 B: x^3 - 6*x^2*y^2 + 8*x*y^3 - 3*y^4 C: x^4 - 6*x^2*y^2 + 8*x*y^3 - 3*y^4 D: x^5- 6*x^2*y^2 + 8*x*y^3 - 3*y^4
应用Matlab软件计算行列式[img=110x88]17da5d7b00219d6.png[/img]为( ). A: x^2 - 6*x^2*y^2 + 8*x*y^3 - 3*y^4 B: x^3 - 6*x^2*y^2 + 8*x*y^3 - 3*y^4 C: x^4 - 6*x^2*y^2 + 8*x*y^3 - 3*y^4 D: x^5- 6*x^2*y^2 + 8*x*y^3 - 3*y^4
已有定义语句:int x=6,y=4,z=5;,执行以下语句后,能正确表示x,y,z值的选项是( )。if(x<;y) z=x;x=y;y=z; A: x=4,y=5,z=6 B: x=6,y=4,z=5 C: x=4,y=5,z=5 D: x=5,y=6,z=4
已有定义语句:int x=6,y=4,z=5;,执行以下语句后,能正确表示x,y,z值的选项是( )。if(x<;y) z=x;x=y;y=z; A: x=4,y=5,z=6 B: x=6,y=4,z=5 C: x=4,y=5,z=5 D: x=5,y=6,z=4
根据PPT上程序选择正确答案()。 A: x=4,y=5,z=6 B: x=4,y=5,z=4 C: x=4,y=5,z=4 D: x=4,y=4,z=4
根据PPT上程序选择正确答案()。 A: x=4,y=5,z=6 B: x=4,y=5,z=4 C: x=4,y=5,z=4 D: x=4,y=4,z=4