Back to the 2025 paper

Module 4: Turing Machines (TM)

20252m

A language is said to be recursively enumerable if it is accepted by a

(i) DFA
(ii) Turing Machine
(iii) PDA
(iv) Linear Bounded Automaton

Worked SolutionAI Assisted

Answer

Correct Option: (ii) Turing Machine

Explanation

A language LL is called Recursively Enumerable (RE) iff there exists a Turing Machine MM such that L=L(M)L = L(M), i.e., MM halts and accepts exactly the strings in LL. On strings not in LL, MM may either reject or loop forever. This is the most general language class in the Chomsky hierarchy (Type-0).

Why other options are incorrect

  • (i) DFA : Accepts Regular languages (Type-3), strictly smaller than RE.
  • (iii) PDA : Accepts Context-Free Languages (Type-2), also properly contained in RE.
  • (iv) Linear Bounded Automaton (LBA) : Accepts Context-Sensitive Languages (Type-1), also a proper subset of RE.

Hierarchy recall

REG⊂CFL⊂CSL⊂RE⊂ALL \text{REG} \subset \text{CFL} \subset \text{CSL} \subset \text{RE} \subset \text{ALL}

  • REG → DFA
  • CFL → PDA
  • CSL → LBA
  • RE → Turing Machine
  • Recursive → Decidable TM (always halts)

Final Answer

Hence, Recursively Enumerable Languages are exactly those accepted by Turing Machines. Correct answer is (ii) Turing Machine.

Similar questions

AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.