Question

Let S = {0,1}. Show that the problem of determining whether a CFG generates some string in 1* is decidable. In other words, s

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

*We have to show that the problem of determining whether a CFG generates some string 1* is decidable

Given a CFG over (0,1) that generates some string in 1. The language generated by this CFG, denoted by Language A can be reph. Note that 1 is a Regular Language & L(G)is a CFL (since G is a CFG), therefore, in L(G) is clearly a CFL • A Turing MachineLet H be the TM that decides A. Using the Theorem 4.8, the decidability is employed by the following algorithm: H=on input <

Add a comment
Know the answer?
Add Answer to:
Let S = {0,1}. Show that the problem of determining whether a CFG generates some string...
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