Which of the following are non essential while simplifying a grammar?

Đạt Michio

New member
Which of the following are non essential while simplifying a grammar?
A. Removal of useless symbols
B. Removal of unit productions
C. Removal of null production
D. None of the mentioned
 
Answer: D
Explanation: Here are some process used to simplify a CFG but to produce an equivalent grammar:
A. Removal of useless symbols(non terminal) b) Removal of Unit productions and c) Removal of Null productions.
 

Tìm kiếm

Back
Top