Question

Classify the language { (G) | G is a CFG, L(G) contains a palindrome}\ as (a) decidable (b) Turing-recognizable but not...

Classify the language

{ (G) | G is a CFG, L(G) contains a palindrome}\

as

(a) decidable

(b) Turing-recognizable but not co-Turing recognizable

(c) co-Turing recognizable but not Turing-recognizable

(d) neither Turing nor co-Turing recognizable

Justify your answer

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

Grammar is a context free grammar .
And There is no halting machine (Turing decidable) that can decide whether a CFG is Ambiguous or not.
Therefore { (G) | G is a CFG, L(G) contains a palindrome} is undecidable(Turing-recognizable).
option(b) Turing-recognizable but not co-Turing recognizable

Add a comment
Know the answer?
Add Answer to:
Classify the language { (G) | G is a CFG, L(G) contains a palindrome}\ as (a) decidable (b) Turing-recognizable but not...
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