2 votes 2 votes Theory of Computation context-free-language simplification + – KISHALAY DAS asked Jan 11, 2017 • retagged Jul 4, 2017 by Arjun KISHALAY DAS 10.4k views answer comment Share Follow See all 9 Comments See all 9 9 Comments reply Show 6 previous comments . commented Jan 29, 2017 reply Follow Share kindly give me the productions i am getting only 3 s->a|ba|b 0 votes 0 votes rajoramanoj commented Oct 6, 2017 reply Follow Share @Pooja Palod ma'am how can you say here S->B is not unit production. according to me it is unit production . can you explain plz...??? 1 votes 1 votes Aman Lakher commented Dec 27, 2021 reply Follow Share S->B is a null production. productions : s->a/ba/b and #production will be 3. correct me if im wrong 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes S - > a | b | ba So, 3 productions. nishant279 answered Aug 29, 2017 nishant279 comment Share Follow See all 0 reply Please log in or register to add a comment.
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. rajoramanoj answered Oct 5, 2017 rajoramanoj comment Share Follow See all 3 Comments See all 3 3 Comments reply LeenSharma commented Oct 6, 2017 reply Follow Share is it really correct?Check it once again.There are many mistakes in your solution. 0 votes 0 votes rajoramanoj commented Oct 6, 2017 reply Follow Share @ LeenSharma sir if there are many mistakes in my solution then plz point out bcoz one of my faculty teach removal in that order only. 0 votes 0 votes LeenSharma commented Oct 6, 2017 reply Follow Share In your simplified CFG.A is a useless symbol.and B is unreachable from start symbol s. 1 votes 1 votes Please log in or register to add a comment.
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 arkaprabha1012 answered Aug 21, 2020 arkaprabha1012 comment Share Follow See all 0 reply Please log in or register to add a comment.