A.Sons and Lovers
B.The White Peacock
C.The Rainbow
D.The Trespasser
第1题:
考虑下面文法G(S): S→a∣ᴧ∣(T) T→T,S∣S (1)消去G(S)的左递归。 (2)给出所有非终结符的FIRST()和FOLLOW()集合。
第2题:
第3题:
● 给定文法G[S]及其非终结符A,FIRST(A)定义为:从A出发能推导出的终结符号的集合(S 是文法的起始符号,为非终结符)。对于文法G[S]:
S→[L] | a
L→L, S| S
其中,G[S]包含的四个终结符号分别为:
a , [ ]
则FIRST(S)的成员包括 (48) 。
(48)
A. a
B. a、[
C. a、[和]
D. a、[、]和,
第4题:
已知G4=(VT{a,',',(,)},VN={S,L,L'},S,P),其中P为, S→(L)|a|ε L→SL' L'→,SL'|ε FIRST(SL')是(29)。
A.{',',ε}
B.{(,a}
C.{(,a,',')
D.{(,a,',' ,ε)
第5题:
给定文法G[S]及其非终结符A,FIRST(A)定义为:从A出发能推导出的终结符号的集合(S 是文法的起始符号,为非终结符)。对于文法G[S]: S→[L] | a L→L, S| S 其中,G[S]包含的四个终结符号分别为: a , [ ] 则FIRST(S)的成员包括 (48)。
A.a
B.a、[
C.a、[和]
D.a、[、]和,
第6题:
给定文法G[S]及其非终结符A,FIRST(A)定义为:从A出发能推导出的终结符号的集合(S是文法的起始符号,为非终结符)。对于文法G[S]: S→[L]|a L→L,S|S 其中,G[S]包含的4个终结符号分别为: a , [ ] 则FIRST(S)的成员包括(48)。
A.a
B.a、[
C.a、[和]
D.a、[、]和,
第7题:
1.importjava.util.*;2.classAddStuff{3.publicstaticvoidmain(String[]args){4.TreeSet〈String〉s=newTreeSet〈String〉();5.s.add("one");6.s.add("two");7.//insertcodehere8.for(Strings2:sorted)9.System.out.print(s2+"");10.}11.}和四个代码片段:s1.SortedSetsorted=s.tailSet(s.first());s2.SortedSet〈String〉sorted=s.tailSet(s.first());s3.SortedSetsorted=(SortedSet)s.tailSet(s.first());s4.SortedSetsorted=(SortedSet〈String〉)s.tailSet(s.first());分别插入到第7行,哪项可以编译?()
A.s1
B.s2
C.s2和s3
D.s2和s4
第8题:
No navigational aids are shown and chart is not kept corrected for alterations in depths inside the pecked lines.For more detailed information,the larger scale charts must be______.
A.bought
B.analyzed
C.consulted
D.Published
第9题:
A、publishing/ are been used
B、published/ are using
C、published/ are being used
D、having been published/ are being used