Question: 1 . Eliminate all useless, unit and epsi - productions from the following grammar: S - > aAa | bBC A - > B

1. Eliminate all useless, unit and \epsi -productions from the following grammar:
S -> aAa | bBC
A -> B |\epsi
B -> b
C -> S | c |\epsi
2. Eliminate all useless, unit and \epsi -productions from the following grammar:
S ->0A0|01B
A ->0D |1D
B ->10A |\epsi
C -> A00|0B0
D ->0|\epsi

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!