Question

1. Consider the following grammar A - aB B-Sb (a) Show a derivation tree for the string aabbbb using the grammar. (b) Give an English description of the language generated by the grammar 2. Let G be the grammar below: S-ASB ab | SS (a) Show that G is ambiguous. (b) Construct an unambiguous grammar equivalent to G. 3. Find a context free grammar for the language L3- fabc+m :n,m21) 4. Find a context free grammar for the language L4 - (arbc : n2 0,k23)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

According to chau n haue to noum quidk lines hauc to soue fitestron B- Sb na aa lo language Nombe as mote than number o bs th ce numbot o as and numker is are egual

Add a comment
Know the answer?
Add Answer to:
1. Consider the following grammar A - aB B-Sb (a) Show a derivation tree for the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT