5,651 views
1 1 vote

Convert the following context free grammar into Chomsky Normal Form:

$S \rightarrow ASA | aB$

$A \rightarrow B | S$

$B \rightarrow b |  \epsilon$

Does the appearance of starting symbol S at RHS impacts the conversion from CFG to CNF?

Please log in or register to answer this question.

Position:
Show:

Related questions

0 0 votes
2 2 answers
2.0k
2.0k views
1 1 vote
0 0 answers
638
638 views
HenryAsks21 asked May 2, 2022
638 views
I am still having some doubts when it comes to Context-Free Grammar to Chomsky Normal Form conversion. Here is what I did for the following CFG: $S \rightarrow bXb \ |\ b...
1 1 vote
0 0 answers
8.0k
8.0k views
Manu Thakur asked Oct 29, 2017
8,013 views
As the null string belongs to the language generated by the grammar, answer of the following questions should be "none of these"?
1 1 vote
0 0 answers
3.2k
3.2k views
Manu Thakur asked Oct 13, 2017
3,169 views
Consider the following context free grammar:$S \rightarrow ASA | aB$$A \rightarrow B | S$$B \rightarrow b | \epsilon$How many productions will be there in the modified g...