retagged by
10,377 views
2 votes
2 votes

retagged by

7 Answers

0 votes
0 votes

monanshi,@Praveen Saini sir it is not correct bcoz the order of execution of removal algorithm is- 

(1) Remove epsilon productions.

(2) Remove unit productions.
(3)  Remove useless productions.

0 votes
0 votes
ans is 8 I got this s->Aa|a|bC|b  B->a|bC|b   C->a  remove null production from C and apply that on B also and then remove unit production from S and give the total B to s

Related questions

0 votes
0 votes
0 answers
1
Shubhanshu asked Aug 29, 2017
3,105 views
Consider the following grammar :S- Aa / BB - a / bCC - a / epsilonThe number of productions in simplified CFG is_________.I am getting 3. As S - Aa / a / b.
1 votes
1 votes
0 answers
4