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
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