• 2022-06-07 问题

    Producer(){While(1){ ; ;Buffer(in)=m;In=(in+1)%n; ; ;}}consumer(){While(1){ ; ;m= Buffer(out);out=(out+1)%n; ; ;}

    Producer(){While(1){ ; ;Buffer(in)=m;In=(in+1)%n; ; ;}}consumer(){While(1){ ; ;m= Buffer(out);out=(out+1)%n; ; ;}

  • 2021-04-14 问题

    对生产者——消费者问题的算法描述中,生产者进程如下,请选择正确的答案编号填入括号中。 Producer(){ while(1){ wait(empty); ( ); buffer(in)=m; in=(in+1)%n; signal(mutex); signal(full); } }

    对生产者——消费者问题的算法描述中,生产者进程如下,请选择正确的答案编号填入括号中。 Producer(){ while(1){ wait(empty); ( ); buffer(in)=m; in=(in+1)%n; signal(mutex); signal(full); } }

  • 2022-06-01 问题

    for i in range(b.max_row): for j in range(b.max_column): print(b.cell(row=i,column=j).value)上面语句运行的结果是:__________。 A: 1 1 1 1 1 1 1 1 1 1 B: 1111111111 C: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 D: 出现异常

    for i in range(b.max_row): for j in range(b.max_column): print(b.cell(row=i,column=j).value)上面语句运行的结果是:__________。 A: 1 1 1 1 1 1 1 1 1 1 B: 1111111111 C: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 D: 出现异常

  • 2021-04-14 问题

    【单选题】CDMA通信的基站,假定基站A的码片序列是+1 +1 +1 -1 -1 +1 -1 -1,基站发射bit为101时,实际发射的信号是 A. +1 +1 +1 -1 -1 +1 -1 -1 +1 +1 +1 -1 -1 +1 -1 -1 –1 –1 –1 +1 +1 –1 +1 +1 B. +1 +1 +1 -1 -1 +1 -1 -1 –1 –1 –1 +1 +1 –1 +1 +1 +1 +1 +1 -1 -1 +1 -1 -1 C. +1 +1 +1 -1 -1 +1 -1 -1 +1 +1 +1 -1 -1 +1 -1 -1 +1 +1 +1 -1 -1 +1 -1 -1 D. –1 –1 –1 +1 +1 –1 +1 +1 –1 –1 –1 +1 +1 –1 +1 +1 –1 –1 –1 +1 +1 –1 +1 +1

    【单选题】CDMA通信的基站,假定基站A的码片序列是+1 +1 +1 -1 -1 +1 -1 -1,基站发射bit为101时,实际发射的信号是 A. +1 +1 +1 -1 -1 +1 -1 -1 +1 +1 +1 -1 -1 +1 -1 -1 –1 –1 –1 +1 +1 –1 +1 +1 B. +1 +1 +1 -1 -1 +1 -1 -1 –1 –1 –1 +1 +1 –1 +1 +1 +1 +1 +1 -1 -1 +1 -1 -1 C. +1 +1 +1 -1 -1 +1 -1 -1 +1 +1 +1 -1 -1 +1 -1 -1 +1 +1 +1 -1 -1 +1 -1 -1 D. –1 –1 –1 +1 +1 –1 +1 +1 –1 –1 –1 +1 +1 –1 +1 +1 –1 –1 –1 +1 +1 –1 +1 +1

  • 2022-06-01 问题

    for i in range(1,11): for j in range(1,11): b.cell(row=i,column=j).value=1 #b是一个工作表对象for i in range(1,11): for j in range(1,11): print(b.cell(row=i,column=j).value,end=" ") print()上面程序代码运行的结果是()。 A: 1 B: 1 1 1 1 1 1 1 1 1 1 C: 1111111111 D: 1 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 1

    for i in range(1,11): for j in range(1,11): b.cell(row=i,column=j).value=1 #b是一个工作表对象for i in range(1,11): for j in range(1,11): print(b.cell(row=i,column=j).value,end=" ") print()上面程序代码运行的结果是()。 A: 1 B: 1 1 1 1 1 1 1 1 1 1 C: 1111111111 D: 1 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 1

  • 2022-10-25 问题

    下列哪个码片序列不能用于CDMA通信 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 )

    下列哪个码片序列不能用于CDMA通信 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 )

  • 2021-04-14 问题

    请仔细观察下面行列式的计算过程,如果四个等号都理解了,请选择A,否则请选择B。 | a 1 1 1 1 | |a+4 a+4 a+4 a+4 a+4| | 1 a 1 1 1 | | 1 a 1 1 1 | | 1 1 a 1 1 |= | 1 1 a 1 1 | | 1 1 1 a 1 | | 1 1 1 a 1 | | 1 1 1 1 a | | 1 1 1 1 a | | 1 1 1 1 1 | | 1 a 1 1 1 | =(a+4) | 1 1 a 1 1 | | 1 1 1 a 1 | | 1 1 1 1 a | | 1 1 1 1 1 | | 0 a–1 0 0 0 | =(a+4) | 0 0 a–1 0 0 | | 0 0 0 a–1 0 | | 0 0 0 0 a–1 | =(a+4)(a–1)^4

    请仔细观察下面行列式的计算过程,如果四个等号都理解了,请选择A,否则请选择B。 | a 1 1 1 1 | |a+4 a+4 a+4 a+4 a+4| | 1 a 1 1 1 | | 1 a 1 1 1 | | 1 1 a 1 1 |= | 1 1 a 1 1 | | 1 1 1 a 1 | | 1 1 1 a 1 | | 1 1 1 1 a | | 1 1 1 1 a | | 1 1 1 1 1 | | 1 a 1 1 1 | =(a+4) | 1 1 a 1 1 | | 1 1 1 a 1 | | 1 1 1 1 a | | 1 1 1 1 1 | | 0 a–1 0 0 0 | =(a+4) | 0 0 a–1 0 0 | | 0 0 0 a–1 0 | | 0 0 0 0 a–1 | =(a+4)(a–1)^4

  • 2021-04-14 问题

    共有4个站进行码分多址通信。4个站的码片序列为: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),则( )发送1。

    共有4个站进行码分多址通信。4个站的码片序列为: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),则( )发送1。

  • 2022-06-09 问题

    共有四个站进行CDMA通信,现收到这样的码片序列(-3 +1 -1 -1 +1 +1 +1 -3),则下列站点发送了数据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)

    共有四个站进行CDMA通信,现收到这样的码片序列(-3 +1 -1 -1 +1 +1 +1 -3),则下列站点发送了数据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)

  • 2022-06-09 问题

    共有四个站进行码分多址CDMA通信。四个站的码片序列为: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 +1 +1 +3 +3 -1 -1 )

    共有四个站进行码分多址CDMA通信。四个站的码片序列为: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 +1 +1 +3 +3 -1 -1 )

  • 1 2 3 4 5 6 7 8 9 10