能够产生语言[img=527x63]1803448d4175907.png[/img]的文法是
A: 文法G(S): S → AC A → aAb | ab C → cC | c
B: 文法G(S): S → AC A → aAb | ab C → cC | ε
C: 文法G(S): S → AC | A A → aAb | ab C → cC | c
D: 文法G(S): S → AC A → aAb | ε C → cC | ε
A: 文法G(S): S → AC A → aAb | ab C → cC | c
B: 文法G(S): S → AC A → aAb | ab C → cC | ε
C: 文法G(S): S → AC | A A → aAb | ab C → cC | c
D: 文法G(S): S → AC A → aAb | ε C → cC | ε
举一反三
- 下列文法中,生成的语言是[img=219x36]18035825c53a6ba.png[/img]的是 A: G(S): S → ABCD A → aA | a B → bB | b C → cC | c D → dD | d B: G(S): S → AC A → aAb | ab C → cCd | cd C: G(S): S → aSd | A A → bAc | bc D: G(S): S → aSb | A A → cAd | cd
- 下列文法中,生成的语言是[img=219x36]1803958e27bf0a1.png[/img]的是 A: G(S): S → ABCD A → aA | a B → bB | b C → cC | c D → dD | d B: G(S): S → AC A → aAb | ab C → cCd | cd C: G(S): S → aSd | A A → bAc | bc D: G(S): S → aSb | A A → cAd | cd
- 下列文法中,生成的语言是[img=219x36]18036d67930bcbe.png[/img]的是 A: G(S): S → ABCD A → aA | a B → bB | b C → cC | c D → dD | d B: G(S): S → AC A → aAb | ab C → cCd | cd C: G(S): S → aSd | A A → bAc | bc D: G(S): S → aSb | A A → cAd | cd
- 已知语言L(G)={anbn| n>=1,m>=1},则哪个文法G[S}中, 可以产生语言L A: S→Abb A→aA|a B→bB|b B: S→ABb A→Aa|a B→aBb|b C: S→aAb A→aAb|a D: S→Ab A→aAb|a
- 以下各项是0型文法但不是1型文法的一项是 。 A: S::=AB A::=a B::=bC B::=b C::=c B: S::=aAb aA::=aB aA::=aaA B::=b A::=a C: S::=aB B::=bC C::=c C::=ε D: S::=aCd aC::=B aC::=aaA B::=b