You are on page 1of 1

PRACTICE PROBLEMS BASED ON CNF AND GNF

Problem-01:

Convert following CFG into CNF

S → ASA | aB
A→B|S
B→b|∈
C → ab | ∈

Problem-02:
Convert following CFG into GNF

S → CA | BB
B → b | SB
C→b
A→a

PRACTICE PROBLEMS BASED ON PDA

Problem-03:

Construct PDA for following languages


1.
wcwR

Write rules also draw diagram for PDA

You might also like