Question: S - XYZ X- bX| aX | Y aa | bb Z- az | bZ J Draw a parse tree (derivation) for the word
S - XYZ X- bX| aX | Y aa | bb Z- az | bZ J Draw a parse tree (derivation) for the word babbab from the given grammar. Answer: s- RR1 | RR2 | AA | BB | a|b R1> SA|BB R2> SB|a A a Question No. 7: Design a PDA for the given Grammer. Assume that the grammer is already in Chomsky Normal B>b
Step by Step Solution
3.26 Rating (167 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
