Computer Science, asked by charanguguloth13, 1 month ago

reduce the grammer into cnf​

Attachments:

Answers

Answered by krishnahandicraft628
0

Answer:

Steps for converting CFG into CNF

1. Step 1: Eliminate start symbol from the RHS. ...

2. Step 2: In the grammar, remove the null, unit and useless productions. ...

3. Step 3: Eliminate terminals from the RHS of the production if they exist with other non-terminals or terminals. ...

4. Step 4: Eliminate RHS with more than two non-terminals.

Similar questions