【单选题】【消耗次数:1】
下列程序段运行后,表达式()的值为3。structpoint{intx;inty;}*p;structpointa[3]={1,2,3,4,5,6};p=a;
*(p+2)
p[1].x
p[2].x
p[3].x
参考答案:
复制
纠错
相关题目
【单选题】 设X~B(2,p),Y~B(3,p)若P(X1)=5/9,则P(X1)=
①  19/27
②  1/9
③  1/3
④  1/24
【单选题】 以下程序段运行后,x[1]的值为()。intx[5]={5,4,3,2,1};x[1]=x[3]+x[2+2]-x[3-1];
①  6
②  0
③  1
④  5
【单选题】 设X,Y独立同分布P(X=-1)=P(Y=-1)=1/2,P(X=1)=P(Y=1)=1/2则
①  X=Y
②  P(X=Y)=0
③  P(X=Y)=1/2
④  P(X=Y)=1
【单选题】 若有int b[4]={0,1,2,3},*p则数值不为3的表达式是:()
①  p=s+2,*(p++)
②  p=s+3,*p++
③  p=s+2,*(++p)
④  s[3]
【单选题】 有以下程序段int?a[10]={1,2,3,4,5,6,7,8,9,10},*p=&a[3],b;b=p[5];b中的值是()
①  5
②  6
③  8
④  9
【单选题】 若有定义:inta[10]={0,1,2,3,4,5,6,7,8,9},*p=a;,则()表达式是错误的。
①  a[2]
②  p++
③  p[2]
④  a++
【单选题】 设X服从参数为a的泊松分布,且P(X=1)=2P(X=2),则a=
①  1
②  2
③  3
④  4
【单选题】 若X1, X2独立,且分布率为P(Xi= -1)=P(Xi= 1)= 1/2(i = 1,2),那么下列结论正确的是
①  X1=X2
②  P(X1=X2)=1
③  P(X1=X2)= 1/2
④  以上都不正确
【判断题】 X~N(3,4),则P(X3)= x=3)
①  正确
②  错误
【判断题】 设总体X服从两点分布P(X=0)=1-p,P(X=1)=p,其中p为未知参数,X1,…,Xn为来自总体X的一个样本,则2(p+1)X1X2是统计量。
①  正确
②  错误
随机题目
【单选题】 She said she __________ lost a pen.
①  have
②  has
③  had
④  having
【单选题】 —I feel so nervous about the National English Speech Competition tomorrow.  —_______.
①  I really envy you
②  Glad to hear that
③  Take it easy
④  very good
【单选题】 He asked John ______ he could swim.
①  that
②  if
③  how
④  how many
【单选题】 — How about going to the cinema? — ___________
①  Enjoy yourself!
②  Good luck!
③  Sounds like a good idea!
④  very happy
【单选题】 — Could you please help me choose an Mp4 player online?— ________. My computer doesn’t work.
①  I don’t agree
②  I hope so
③  I’m afraid I can’t.
④  i did
【单选题】 Translation : Parents are too busy to spend time teaching their kids right from wrong.
①  父母不会太忙,所以有时间教导孩子明辨是非。
②  父母都太忙,没有时间教导孩子明辨是非。
③  父母很忙,但是也抽时间教导孩子明辨是非。
④  父母很忙,经常抽时间教导孩子明辨是非。
【单选题】 He is worth ____________.
①  trust
②  trusted
③  trusting
④  have trusted
【单选题】 一Brand was Jane’s brother!— he reminded me so much of Jane!
①  No doubt
②  Above all
③  No wonder
④  how
【单选题】 -________ keep water running when you are brushing your teeth or washing your hands, Jack.  -OK. I know we must save every drop(滴) of water.
①  Please
②  Why not
③  Don’t
④  do
【单选题】 You’d better ________ to hospital at once.
①  go
②  to
③  going
④  gone