Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Remove unit-productions for the following grammar:
P={S-> AB
A->a
B->C|b
C->D
D->E
E->a
}
Result:
P'={S-> AB
B->b
C->a
D->a
B->a|b
B->a
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!