Giving the Grammar: S->AB, A->a, B->b
The leftmost derivation for ab would
give:
Select one:
A. S->AB->aB->ab
B. S->AB->aB->abb
C. S->AB->aBa->ab
D. S->ABA->aB->ab
can i please get this under 20mins
Giving the Grammar: S->AB, A->a, B->b The leftmost derivation for ab would give: Select one: A. S->AB->aB->ab B. S->AB
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Giving the Grammar: S->AB, A->a, B->b The leftmost derivation for ab would give: Select one: A. S->AB->aB->ab B. S->AB
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!