What's the end of the story? A. The prisoner stole the policeman's notebook and gave it to Mr. Green in return.
B. The prisoner was caught.
C. The prisoner robbed Mr. Green.
D. Mr. Green sent the prisoner to the police station.
第1题:
已知有定义:Strings="story",下面()表达式是合法的。
A.s+="books";
B.charC=s[1];
C.intlen=s.length;
D.Strings=s.toLowerCase();
第2题:
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.以上答案均不正确第3题:
4、已知字符串s='who',则执行语句 s[-1]='at' 后,s的值为:
A.'what'
B.'wha'
C.'whoat'
D.报错,且s的值不变
第4题:

A.Arrays.sort(s);
B.s=newTreeSet(s);
C.Collections.sort(s);
D.s=newSortedSet(s);
第5题:
已知字符串s='who',则执行语句 s[-1]='at' 后,s的值为:
A.'what'
B.'wha'
C.'whoat'
D.报错,且s的值不变
第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.以上答案均不正确