|
|
Page | 4/6 | Date | 23.07.2021 | Size | 1.68 Mb. | | #57100 |
| CFGProblem - Remove null production from the following −
- S → ASA | aB | b, A → B, B → b | ∈
Remove null production from the following − - S → XYX
- X → 0X | ε
- Y → 1Y | ε
- S → XY | YX | XX | X | Y
- X → 0X | 0
- Y → 1Y | 1
Algorithm to Convert into Chomsky Normal Form − Step 2 − Remove Null productions. (Using the Null production removal algorithm discussed earlier) Step 3 − Remove unit productions. (Using the Unit production removal algorithm discussed earlier)
Share with your friends: |
The database is protected by copyright ©ininet.org 2024
send message
|
|