Question
The set of all recursively enumerable languages is
Official answer and solution
- Official answer
- B
- From
- Official GATE 2018 answer key
Solution
Recall closure properties and cardinalities of the family of recursively enumerable (RE) languages.
Evaluate the properties of recursively enumerable languages:
- Complementation: RE languages are not closed under complementation (for example, the halting problem language is RE, but its complement is not RE).
- Intersection: If and are accepted by Turing machines and , a Turing machine can simulate and sequentially on the input, accepting if and only if both accept. Thus, RE languages are closed under intersection.
- Subset relation: Every recursive language is RE (), so RE is a superset of recursive languages, not a subset.
- Countability: Each RE language is recognized by some Turing machine. Every Turing machine can be encoded as a finite binary string, so the set of all Turing machines is countably infinite. Therefore, the set of all RE languages is countable.
Thus, only statement B is true.
Final answer
B
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2018 Computer Science and Information Technology (CS)
- Question
- 17 of 65, printed as CS Q.7
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.