If grammar G is unambiguous, G’ produced after the removal of Unit production will be:

Giao Linh

New member
If grammar G is unambiguous, G’ produced after the removal of Unit production will be:
A. ambiguous
B. unambiguous
C. finite
D. cannot be said
 
Answer: B
Explanation: With the simplification of Context free grammars, undesirable properties are introduced. It says, if grammar G, before simplification is unambiguous, after simplification will also be unambiguous.
 

Tìm kiếm

Back
Top