Question

Give a phrase-structure grammar that generates the set {0xn1yn | n = 0, 1, 2, ....

Give a phrase-structure grammar that generates the set {0xn1yn | n = 0, 1, 2, . . . }, where x is the number of consonants and y is the number of vowels in your first name.

e.g. Let’s say your name is “Buket”. Then x will be 3 and y will be 2 and you should find the grammar that generates 03n12n where n is a nonnegative integer.


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

so) state you need consides that s is initical (or) starting y=3 for x=2 and name Berket for name is susae V = { 5,0,1} sso that the production is St Oosul and finally trinally th the phase structured grammer G, will have GR$ vit.s.p3 Vi $5,0113

Please do like thank you

Add a comment
Know the answer?
Add Answer to:
Give a phrase-structure grammar that generates the set {0xn1yn | n = 0, 1, 2, ....
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