Given grammar G: S-> ABA, A->aA|e, B-> bB|e Eliminate e and unit productions. State the number of productions the starting variable holds?

Huỳnh Hiền

New member
Given grammar G:
S-> ABA, A->aA|e, B-> bB|e
Eliminate e and unit productions. State the number of productions the starting variable holds?
A. 6
B. 7
C. 9
D. 5
 

Tìm kiếm

Back
Top