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
若有int x,y,z;,则执行以下程序段后的输出结果为:x=1;y=3;z=5;if(x>;y)x=y;y=z;printf("x=%d,y=%d,z=%d",x,y,z); A: x=1,y=5,z=5 B: x=1,y=3,z=3 C: x=5,y=3,z=5 D: x=5,y=3,z=3
若有int x,y,z;,则执行以下程序段后的输出结果为:x=1;y=3;z=5;if(x>;y)x=y;y=z;printf("x=%d,y=%d,z=%d",x,y,z); A: x=1,y=5,z=5 B: x=1,y=3,z=3 C: x=5,y=3,z=5 D: x=5,y=3,z=3
假设x=5,y=8,则分别执行下列语句后z的值为多少? (1)z=x/y (2)z=x%y (3)z=x+(++y) (4)z=x+(y++) (5)z=x&y (6)z=x|y (7)z=x<<316 (8)z=x>y?x:y
假设x=5,y=8,则分别执行下列语句后z的值为多少? (1)z=x/y (2)z=x%y (3)z=x+(++y) (4)z=x+(y++) (5)z=x&y (6)z=x|y (7)z=x<<316 (8)z=x>y?x:y
执行以下语句的结果:dict1={"x":1,"y":2,"z":3}dict2={"x":4,"a":5}dict1.update(dict2) A: {"x":1,"y":2,"z":3,"x":4,"a":5} B: {"x":4,"a":5,"x":1,"y":2,"z":3} C: 有重复项,结果有误! D: {"x":4,"y":2,"z":3,"a":5}
执行以下语句的结果:dict1={"x":1,"y":2,"z":3}dict2={"x":4,"a":5}dict1.update(dict2) A: {"x":1,"y":2,"z":3,"x":4,"a":5} B: {"x":4,"a":5,"x":1,"y":2,"z":3} C: 有重复项,结果有误! D: {"x":4,"y":2,"z":3,"a":5}
设随机变量X1,X2,X3,X4相互独立,且均服从N(0,1),函数,Z=,求概率P{Y<Z}.设随机变量X1,X2,X3,X4相互独立,且均服从N(0,1),函数P{Y=0}=1/3,P{Y=1}=2/3,Z=Y/X,求概率P{Y<Z}.
设随机变量X1,X2,X3,X4相互独立,且均服从N(0,1),函数,Z=,求概率P{Y<Z}.设随机变量X1,X2,X3,X4相互独立,且均服从N(0,1),函数P{Y=0}=1/3,P{Y=1}=2/3,Z=Y/X,求概率P{Y<Z}.
已知随机变量X~U(0,2),则P(X>1)=, 已知随机变量Y~E(1),则P(Y=1)=, 已知随机变量Z~N(0,2?),则P(Z=0)=,P(Z≥0)=
已知随机变量X~U(0,2),则P(X>1)=, 已知随机变量Y~E(1),则P(Y=1)=, 已知随机变量Z~N(0,2?),则P(Z=0)=,P(Z≥0)=
已知x=1,y=2,z=3,执行下列语句if(x>y) z=x;x=y;y=z;则x,y,z的值分别是 A: x=1,y=2,z=3 B: x=2,y=3,z=1 C: x=2,y=2,z=1 D: x=2,y=3,z=3
已知x=1,y=2,z=3,执行下列语句if(x>y) z=x;x=y;y=z;则x,y,z的值分别是 A: x=1,y=2,z=3 B: x=2,y=3,z=1 C: x=2,y=2,z=1 D: x=2,y=3,z=3
以下程序的输出结果是()。#includevoidmain(){intx=1,y=2,z=3;structaa{inta;int*p;}s[]={4,&x,5,&y,6,&z};structaa*q=s+1;printf("%d\n",*(q–>p)++);} A: 1 B: 2 C: 3 D: 4
以下程序的输出结果是()。#includevoidmain(){intx=1,y=2,z=3;structaa{inta;int*p;}s[]={4,&x,5,&y,6,&z};structaa*q=s+1;printf("%d\n",*(q–>p)++);} A: 1 B: 2 C: 3 D: 4
【单选题】设随机变量X和Y的分布律为P{X=-1, Y=-1}=0.25, P{X=-2, Y=-1}=0.15, P{X=-1, Y=1}=0.1, P{X=-2, Y=1}=0.15, P{X=-1, Y=2}=0.3, P{X=-2, Y=2}=0.05,则Z=X +Y的分布律中P{Z=0}=( ) A. 0.15 B. 0.25 C. 0.35 D. 0.4
【单选题】设随机变量X和Y的分布律为P{X=-1, Y=-1}=0.25, P{X=-2, Y=-1}=0.15, P{X=-1, Y=1}=0.1, P{X=-2, Y=1}=0.15, P{X=-1, Y=2}=0.3, P{X=-2, Y=2}=0.05,则Z=X +Y的分布律中P{Z=0}=( ) A. 0.15 B. 0.25 C. 0.35 D. 0.4
已知int x=1,y=2,z=3;执行if(x>y) z=x;x=y;y=z;后x,y,z的值为( ) A: x=1,y=2,z=3 B: x=2,y=3,z=3 C: x=2,y=3,z=1 D: x=2,y=3,z=2
已知int x=1,y=2,z=3;执行if(x>y) z=x;x=y;y=z;后x,y,z的值为( ) A: x=1,y=2,z=3 B: x=2,y=3,z=3 C: x=2,y=3,z=1 D: x=2,y=3,z=2