HW3C1801
HW3C1801
HOME WORK: #3
Part-A
S → aB/bA
A → bAA/aS/a
B → aBB/bS/b
S → 1A/0B
A → 1AA/0S/0
B → 0BB/1S/1
Part-B
Q4. Compare the Chomsky Normal form and Kuroda Normal Form. Give example of each.
Q5. Write a CFG which generates strings having equal number of a’s and b’s.
Q6. Let L = { anbm | n < m }. Construct a context free Grammar accepting L and convert it into GNF.