Question: [3*5 = 15 Points] Consider the given grammars below. Convert each of them to its equivalent Chomsky Normal Form (CNF). State each step clearly. S
[3*5 = 15 Points] Consider the given grammars below. Convert each of them to its equivalent Chomsky Normal Form (CNF). State each step clearly.
S → AACD
A → aAb | ac | ε
C → aC | a
D → aDa | bDb | d | ε
S → XSB | ε
X → pXS | p
B → SbS | X | bb
S → aAa | bBb | ε
A → C | a
B → C | b
C → CD | ε
D → A | B | ab
Step by Step Solution
3.34 Rating (148 Votes )
There are 3 Steps involved in it
Solution To convert a grammar into CNF we want any of the given condition below Non terminal termina... View full answer
Get step-by-step solutions from verified subject matter experts
