阅读以下代码,x=[0 1 0 2 0 3 0 4];for k=1:8if x(k)==0 x(k)=k;elsex(k)=2*k+1;endend回答:x(2)=______ ,x(5)=______
阅读以下代码,x=[0 1 0 2 0 3 0 4];for k=1:8if x(k)==0 x(k)=k;elsex(k)=2*k+1;endend回答:x(2)=______ ,x(5)=______
仔细阅读下面的程序 假设该程序在执行过程中输入855060855078,则其输出结果是() A: 8/5:1end8/5:1end7/8:0 B: 8/5:1endend C: 8/5:1end8/5:1end D: 8/5:1end8/5:1
仔细阅读下面的程序 假设该程序在执行过程中输入855060855078,则其输出结果是() A: 8/5:1end8/5:1end7/8:0 B: 8/5:1endend C: 8/5:1end8/5:1end D: 8/5:1end8/5:1
在matlab中下列程序正确的是( ) A: A=1:8;B=(A>2)&&(A<6) B: for x =1:10 y=x.^+1; C: for x=-10:10if x>0 y=x.^2;elsey=x+1;endend D: A=[1 2 4; 3 5 8];B=[3 5 5; 5 5 5];C=A*B
在matlab中下列程序正确的是( ) A: A=1:8;B=(A>2)&&(A<6) B: for x =1:10 y=x.^+1; C: for x=-10:10if x>0 y=x.^2;elsey=x+1;endend D: A=[1 2 4; 3 5 8];B=[3 5 5; 5 5 5];C=A*B
在以下程序中,Clk_50M为频率为50MHz的系统时钟,则下列说法中正确的有reg Clk; reg [31:0] Cnt;always@(posedge Clk_50M or negedge Rst)begin if(!Rst) begin Cnt [= 1; Clk <= 1; end else begin if(Cnt ]= 25000000) begin Cnt <= 1; Clk <= ~Clk; end else Cnt<= Cnt + 1; endend A: 该模块为同步复位 B: 该模块的功能是分频器 C: 若系统时钟频率为50MHz,则输出Clk的频率为2MHz D: 该程序为时序逻辑电路
在以下程序中,Clk_50M为频率为50MHz的系统时钟,则下列说法中正确的有reg Clk; reg [31:0] Cnt;always@(posedge Clk_50M or negedge Rst)begin if(!Rst) begin Cnt [= 1; Clk <= 1; end else begin if(Cnt ]= 25000000) begin Cnt <= 1; Clk <= ~Clk; end else Cnt<= Cnt + 1; endend A: 该模块为同步复位 B: 该模块的功能是分频器 C: 若系统时钟频率为50MHz,则输出Clk的频率为2MHz D: 该程序为时序逻辑电路
在以下程序中,Clk_50M为频率为50MHz的系统时钟,则下列说法中正确的有reg Clk; reg [31:0] Cnt;always@(posedge Clk_50M or negedge Rst)begin if(!Rst) begin Cnt <= 1; Clk <= 1; end else begin if(Cnt >= 25000000) begin Cnt <= 1; Clk <= ~Clk; end else Cnt<= Cnt + 1; endend A: 该模块为同步复位 B: 该模块的功能是分频器 C: 若系统时钟频率为50MHz,则输出Clk的频率为2MHz D: 该程序为时序逻辑电路
在以下程序中,Clk_50M为频率为50MHz的系统时钟,则下列说法中正确的有reg Clk; reg [31:0] Cnt;always@(posedge Clk_50M or negedge Rst)begin if(!Rst) begin Cnt <= 1; Clk <= 1; end else begin if(Cnt >= 25000000) begin Cnt <= 1; Clk <= ~Clk; end else Cnt<= Cnt + 1; endend A: 该模块为同步复位 B: 该模块的功能是分频器 C: 若系统时钟频率为50MHz,则输出Clk的频率为2MHz D: 该程序为时序逻辑电路
设工程文件中包名称分别为Form1、Form2的两个窗体,且Form1的菜单属性设置如下:窗体Form1中的程序如下:Dim Flag As BooleanPrivate Sub Form_Load() Flag=TrueEnd SubPrivate Sub mnu1_Click(index As Integer) If Index=1 Then If Flag=True Then Form2.show mnu1(1).Caption="隐藏窗体2" Flag=False Else Form2.Hide mnu1(1).Caption="显示窗体2" Flag=True End If End If If Index=2 Then EndEnd Sub关于上述程序,以下叙述中错误的是______。 A: Index属性的值可以用来区分控件数组元素 B: Index为1的菜单项的标题可能会改变 C: 两个名称均为Mnu1的菜单项构成一个控件数组 D: 语句Form2.Hide将Form2卸载
设工程文件中包名称分别为Form1、Form2的两个窗体,且Form1的菜单属性设置如下:窗体Form1中的程序如下:Dim Flag As BooleanPrivate Sub Form_Load() Flag=TrueEnd SubPrivate Sub mnu1_Click(index As Integer) If Index=1 Then If Flag=True Then Form2.show mnu1(1).Caption="隐藏窗体2" Flag=False Else Form2.Hide mnu1(1).Caption="显示窗体2" Flag=True End If End If If Index=2 Then EndEnd Sub关于上述程序,以下叙述中错误的是______。 A: Index属性的值可以用来区分控件数组元素 B: Index为1的菜单项的标题可能会改变 C: 两个名称均为Mnu1的菜单项构成一个控件数组 D: 语句Form2.Hide将Form2卸载
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: 出现异常
【单选题】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
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
下列哪个码片序列不能用于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 )