A、a work / are / works
B、a job/ is/ work
C、a work/ is/ job
D、work/ is / job
第1题:
4、以下的描述中,必然是对Mealy型状态机的描述的是?
A.always @(*) case (state) S0: begin out = 0; if (in) next_state = S1; else next_state = S2; end ……#B.always @(*) case (state) S0: begin if (in) next_state = S1; else next_state = S0; end ……#C.always @(*) case (state) S0: begin if (in) begin next_state = S1; out=1 end else next_state = S0; end ……#D.以上答案均不正确第2题:
通过 SQL,在表 Actor 中选择 FirstName 等于 Jim 而 LastName 等于 Carter 的所有记录的表述正确的是()。
A.SELECT * FROM Actor WHERE FirstName LIKE 'Jim' AND LastName LIKE 'Carter'
B.SELECT FirstName='Jim', LastName='Carter' FROM Actor
C.SELECT * FROM Actor WHERE FirstName='Jim' AND LastName='Carter'
D.SELECT * FROM Actor WHERE FirstName='Jim' OR LastName='Carter'
第3题:
2、下列不是合法标识符的是()
A._abc
B.a_s1
C.d$shut
D.always
第4题:
请看一下代码,《插入代码》处应填入的代码是()Map map=new HashMap(); map.put(“tom”,123.6); map.put(“jim”,234.5); map.put(“terry”,45.3); 《插入代码》 其中《插入代码》处要实现的功能是把key为“jim”的value值在原有数字的基础上添加100。
A.map.put(“jim”,map.get(“jim”)+100);
B.map.set(“jim”,map.get(“jim”)+100);
C.map.put(“jim”,234.5);
D.map.set(“jim”,234.5);
第5题:
下列Moore型状态机采用Verilog语言主控时序部分正确的是:
A.always@(posedge clk or negedge reset) begin if(!reset) current_state<=s0; else current_state<=next_state; end
B.always@(posedge clk ) begin if(!reset) current_state<=s0; else current_state<=next_state; end
C.always@(posedge clk t) if(reset) current_state<=s0; else current_state<=next_state;
D.always@(posedge clk or negedge reset) if(reset) current_state<=s0; else current_state<=next_state;
第6题:
以下的描述中,必然是对Mealy型状态机的描述的是?
A.always @(*) case (state) S0: begin out = 0; if (in) next_state = S1; else next_state = S2; end ……#B.always @(*) case (state) S0: begin if (in) next_state = S1; else next_state = S0; end ……#C.always @(*) case (state) S0: begin if (in) begin next_state = S1; out=1 end else next_state = S0; end ……#D.以上答案均不正确