retagged by
624 views
4 votes
4 votes

Consider the following languages :

  • $\mathrm{L} 1:=\{\langle \text{M}\rangle \mid \text{M}$ is a $\text{TM},$ and $\text{M}$ is the only $\text{TM}$ that accepts $\mathrm{L}(\mathrm{M})\}.$
  • $\mathrm{L} 2:=\{\langle \text{M}\rangle \mid \text{M}$ is a $\text{TM},$ and $|\text{M}|<1000\} .$

Which of the above languages is Decidable?

  1. Only $\text{L1}$
  2. Only $\text{L2}$
  3. Both
  4. None
retagged by

1 Answer

5 votes
5 votes
$\text{L1}$ is decidable because This is the empty set, since every language has an infinite number of $\text{TMs}$ that accept it.
$\text{L2}$ is decidable. In this question, we are talking about all the descriptions of Turing machines using a fixed alphabet (of finite size, of course), i.e., $\text{TM’s}$ that are encoded as input to the universal $\text{TM}.$ So, $\text{L2}$ is finite, and hence recursive.

$\textbf{Learn it here :}$
Watch the following lectures for understanding Decidability and Countability, and make sure your at least $2-3$ marks in GATE exam :
https://youtube.com/playlist?list=PLIPZ2_p3RNHiMGiPFIOPJG_ApL43JkILI
Answer:

Related questions