edited by
2,939 views
24 votes
24 votes

Which of the following statements is TRUE?

  1. Every turning machine recognizable language is recursive.
  2. The complement of every recursively enumerable language is recursively enumerable.
  3. The complement of a recursive language is recursively enumerable.
  4. The complement of a context-free language is context-free.
  5. The set of turning machines which do not halt on empty input forms a recursively enumerable set.
edited by

2 Answers

Best answer
22 votes
22 votes
  1. False. Turing recognizable language are recursive enumerable and recursive set is a proper subset of it.
  2. False, Complement of r.e. need not be r.e.
  3. True. Complement of recursive language is recursive and every recursive language is recursive enumerable.
  4. False. Complement of CFL need not  be CFL (but is guaranteed to be a CSL).
  5. False. We cannot make a Turing machine to determine if a given Turing machine does not halt on empty string (for that matter any string). But the complement  of this is r.e. (of course not recursive)
edited by
5 votes
5 votes
For option e)

Say L = {turning machines which do not halt on empty input}

So L' =  {turning machines which halt on empty input}

See L' is REL but not Recursive.

So L = (L')' is out of REL circle. hence option e) is false.
Answer:

Related questions

1.6k
views
3 answers
13 votes
makhdoom ghaya asked Nov 2, 2015
1,611 views
Let $a^{i}$ denote a sequence $a . a ... a$ with $i$ letters and let $\aleph$ be the set of natural numbers ${ 1, 2,...}$. Let $L_{1}=\left\{a^{i}b^{2i}\mid i \in \aleph...
2.7k
views
2 answers
23 votes
makhdoom ghaya asked Oct 30, 2015
2,674 views
An electric circuit between two terminals $A$ and $B$ is shown in the figure below, where the numbers indicate the probabilities of failure for the various links, which a...
1.1k
views
1 answers
7 votes
Arjun asked Nov 14, 2015
1,066 views
This question concerns the classes $P$ and $NP.$ If you are familiar with them, you may skip the definitions and go directly to the question.Let $L$ be a set. We say that...
2.6k
views
2 answers
16 votes
makhdoom ghaya asked Nov 2, 2015
2,607 views
Which of the following correctly describes $\text{LR}(k)$ parsing?The input string is alternately scanned left to right and right to left with $k$ reversals.Input string ...