Page 1 of 1

2. (15%) Given the context-free grammar and w = aabb wwwwwwwwwww S →→ aAB A → bBb | aB www www B⇒ A |λ (a) Show the left

Posted: Mon Jun 06, 2022 6:51 pm
by answerhappygod
 1
1 (18.33 KiB) Viewed 35 times
2. (15%) Given the context-free grammar and w = aabb wwwwwwwwwww S →→ aAB A → bBb | aB www www B⇒ A |λ (a) Show the leftmost derivation of w (b) Show the rightmost derivation of w (c) Show the parse tree of w