in Theory of Computation
986 views
6 votes
6 votes
S = { <M> | M is a DFA that accepts some palindrome }. Then what will be S -

a) Turing recognizable

b) decidable

c) undecidable

d) none of these
in Theory of Computation
986 views

2 Answers

1 vote
1 vote
It is decidable I guess, not sure
give the palindrome and check if it reaches the final state.if it reaches then its the correct dfa else not

4 Comments

@Surabhi Kadur

how you will know it ?...if you really knew it, than what was the need of qsn, it will always be decidable.
0
0

it is decidable, you can prove like this,

1-make PDA for palindromic strings and find corresponding CFG LC

2-find language for given DFA, say it LR

3-find Lfinal = LR intersection LC, which will also be CFG

4-check if Lfinal is empty

5- if empty your dfa does not accept any palindrome else your dfa accept some palindrome

steps 1 to 5 are all decidable because we have algorithm for each steps, so finally this qsn " M is a DFA that accepts some palindrome ?" is decidable

0
0
Thanks
0
0
0 votes
0 votes
Answer: B

A language is Decidable if there is a Turing Machine which will accept strings in the language and reject strings, not in the language. It will hault. So, not turing recognizable.

Related questions