Question: Convert this grammar to Chomsky Normal Form. Enter the new grammar in JFLAP and test it with these test cases: {0, 01, 001, 101, 0101,

Convert this grammar to Chomsky Normal Form. Enter the new grammar in JFLAP and test it with these test cases: {0, 01, 001, 101, 0101, 11110, 00001, 11110, 101010}. Include the JFLAP image of the grammar and test results. Be sure that the entire grammar is visible.

S -> X S X | 0X X -> Y | S

Y -> 1 | epsilon

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!