2 Show Following Cfg G S Ambiguous B Derivation Tree Give Leftmost Rightmost Derivations Q37039593

2. (a) Show that the following CFG G s ambiguous. (b) For each derivation tree in (a), give both the leftmost and rightmost d2. (a) Show that the following CFG G s ambiguous. (b) For each derivation tree in (a), give both the leftmost and rightmost derivations. В с Show transcribed image text 2. (a) Show that the following CFG G s ambiguous. (b) For each derivation tree in (a), give both the leftmost and rightmost derivations. В с


Answer


ambiquous it thwre exists more thum one LMD C left Nost DenvaHon or mo them one RNO -→ Here, the 9em mar exists mere than onee @/ @/0 o ⑥ LND tor shiny : C.hcacbc. @o(D ⑥ C. c)

ambiquous

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.