10.classInner{
11.privateintx;
12.publicvoidsetX(intx){this.x=x;}
13.publicintgetX(){returnx;}
14.}
15.
16.classOuter{
17.privateInnery;
18.publicvoidsetY(Innery){this.y=y;}
19.publicInnergetY(){returny;}
20.}
21.
22.publicclassGamma{
23.publicstaticvoidmain(String[]args){
24.Outero=newOuter();
25.Inneri=newInner();
26.intn=10;
27.i.setX(n);
28.o.setY(i);
29.//insertcodehere
30.System.out.println(o.getY().getX());
31.}
32.}
Whichthreecodefragments,addedindividuallyatline29,producetheoutput100?()
第1题:
A、B、C三个站点采用CDMA技术进行通信,A、B要向C发送数据,设A的码片序列为+1,-1,-1,+1,+1,+1,+1,-1。则B可以选用的码片序列为
A.-1,-1,-1,+1,-1,+1,+1,+1
B.-1,+1,-1,-1,-1,+1,+1,+1
C.-1,+1,-1,+1,-1,+1,-1,+1
D.-1,+1,-1,+1,-1,+1,+1,+1
第2题:
共有4个站进行码分多址通信。现收到这样的码片序列S:(-3 -1 -1 +1 +3 +1 +1 -1)。发送数据1的是()
A.(-1-1-1+1+1-1+1+1)
B.(-1-1+1-1+1+1+1-1)
C.(-1+1-1+1+1+1-1-1)
D.(-1+1-1-1-1-1+1-1)
第3题:
四个站点进行码分多址CMDA通信,其序列分别为A(-1 -1 -1 +1 +1 -1 +1 +1)、B(-1 -1 +1 -1 +1 +1 +1 -1)、C(-1 +1 -1 +1 +1 +1 -1 -1)、D(-1 +1 -1 -1 -1 -1 +1 -1)。现收到序列(-1 +1 -3 +1 -1 -3 +1 +1),请问哪些站点发送了消息
A.A
B.B
C.C
D.D
第4题:
已知HDB3码为 ,则对应的译码输出为11000010110000000010111。
A.000+1-100-1+10-1+1-1+1-1000-1+10-1+1
B.+1-1000-1+10-1+1000+1-100-1+10-1+1-1
C.+1+1000-1+10-1+1000+1-100-1+10-1+1-1
D.+1-1000-1+10-1+1000+1-100+1+10-1+1-1
E.00+1-10+1-1+1-1000-1+1-1+1000-1+1+10
第5题:
1、已知HDB3码为 ,则对应的译码输出为11000010110000000010111。
A.000+1-100-1+10-1+1-1+1-1000-1+10-1+1
B.+1-1000-1+10-1+1000+1-100-1+10-1+1-1
C.+1+1000-1+10-1+1000+1-100-1+10-1+1-1
D.+1-1000-1+10-1+1000+1-100+1+10-1+1-1
E.00+1-10+1-1+1-1000-1+1-1+1000-1+1+10