GATE CSE Turing Machines and Undecidability PYQs
Across GATE CS, 'Turing machines and undecidability' is consistently tested through theoretical properties of computability and complexity classes. Questions pr… Read the guide
- Questions
- 30
- Asked
- since 2012
- Total marks
- 44
- Marks / paper
- 1.7
30 GATE CSE Turing Machines and Undecidability PYQs with solutions, from Theory of Computation. Browse all GATE CSE PYQs.
Questions
Every official paper that asked this topic, newest first.
- GATE CSE 2026 Set 2 · Q13Which one of the following statements is equivalent to the following assertion? Turing machine decides the language MCQ1 markEasySolve
- GATE CSE 2025 Set 2 · Q25Let be Context Free Grammars (CFGs) and be a regular expression. For a grammar , let denote the language generated by . Which ONE among the following questions is decidable?MCQ1 markEasySolve
- GATE CSE 2023 · Q24Which of the following statements is/are CORRECT?MSQ1 markEasySolve
- GATE CSE 2022 · Q23Which of the following statements is/are TRUE?MSQ1 markMediumSolve
- GATE CSE 2022 · Q46Which of the following is/are undecidable?MSQ2 marksMediumSolve
- GATE CSE 2021 Set 1 · Q12Let denote an encoding of an automaton . Suppose that . Which of the following languages is/are NOT recursive?MSQ1 markMediumSolve
- GATE CSE 2021 Set 1 · Q39For a Turing machine , denotes an encoding of . Consider the following two languages. Which…MCQ2 marksMediumSolve
- GATE CSE 2021 Set 2 · Q36Consider the following two statements about regular languages: : Every infinite regular language contains an undecidable language as a subset. : Every finite language is regular. Which one of the following choices is correct?MCQ2 marksMediumSolve
- GATE CSE 2020 · Q26Which of the following languages are undecidable? Note that indicates encoding of the Turing machine M. …MCQ2 marksMediumSolve
- GATE CSE 2018 · Q7The set of all recursively enumerable languages isMCQ1 markEasySolve
- GATE CSE 2017 Set 1 · Q39Let and be finite alphabets and let be a symbol outside both and . Let be a total function from to . We say is computable if there exists a Turing machine which given an input in , always halts with on its tape. Let denote the…MCQ2 marksMediumSolve
- GATE CSE 2017 Set 2 · Q41Let be the language represented by regular expression . Let be the language generated by a context free grammar . Let be the language accepted by a Turing machine . Which of the following decision problems are undecidable? I. Given a regular expression and a string…MCQ2 marksMediumSolve
- GATE CSE 2016 Set 1 · Q17Which of the following decision problems are undecidable? I. Given NFAs and , is ? II. Given a CFG and a string , does ? III. Given CFGs and , is ? IV. Given a TM , is …MCQ1 markEasySolve
- GATE CSE 2016 Set 1 · Q44Let be a recursive language and be a recursively enumerable but not recursive language. Let and be two languages such that reduces to , and reduces to (reduction means the standard many-one reduction). Which one of the following statements is TRUE?MCQ2 marksMediumSolve
- GATE CSE 2016 Set 2 · Q18Consider the following types of languages: : Regular, : Context-free, : Recursive, : Recursively enumerable. Which of the following is/are TRUE? I. is recursively enumerable II. is recursive III. is context-free…MCQ1 markMediumSolve
- GATE CSE 2016 Set 2 · Q44Consider the following languages. …MCQ2 marksMediumSolve
- GATE CSE 2015 Set 1 · Q3For any two languages and such that is context-free and is recursively enumerable but not recursive, which of the following is/are necessarily true? I. (complement of ) is recursive II. (complement of ) is recursive III. is…MCQ1 markMediumSolve
- GATE CSE 2015 Set 2 · Q2Consider two decision problems such that reduces in polynomial time to 3-SAT and 3-SAT reduces in polynomial time to . Then which one of the following is consistent with the above statement?MCQ1 markMediumSolve
- GATE CSE 2015 Set 2 · Q21Consider the following statements. I. The complement of every Turing decidable language is Turing decidable II. There exists some language which is in NP but is not Turing decidable III. If is a language in NP, is Turing decidable Which of the above statements is/are true?MCQ1 markMediumSolve
- GATE CSE 2015 Set 3 · Q53Language is polynomial time reducible to language . Language is polynomial time reducible to , which in turn is polynomial time reducible to language . Which of the following is/are true? I. if , then II. if or , then …MCQ2 marksMediumSolve
- GATE CSE 2014 Set 1 · Q35Let be a language and be its complement. Which one of the following is NOT a viable possibility?MCQ2 marksEasySolve
- GATE CSE 2014 Set 1 · Q38Suppose a polynomial time algorithm is discovered that correctly computes the largest clique in a given graph. In this scenario, which one of the following represents the correct Venn diagram of the complexity classes P, NP and NP Complete (NPC)?MCQ2 marksMediumSolve
- GATE CSE 2014 Set 2 · Q16Let denotes that language A is mapping reducible (also known as many-to-one reducible) to language B. Which one of the following is FALSE?MCQ1 markMediumSolve
- GATE CSE 2014 Set 2 · Q35Let be the encoding of a Turing machine as a string over . Let . Then, isMCQ2 marksMediumSolve
- GATE CSE 2014 Set 3 · Q16Let be a finite non-empty alphabet and let be the power set of . Which one of the following is TRUE?MCQ1 markEasySolve
- GATE CSE 2014 Set 3 · Q35Which one of the following problems is undecidable?MCQ2 marksEasySolve
- GATE CSE 2013 · Q17Which of the following statements is/are FALSE? 1. For every non-deterministic Turing machine, there exists an equivalent deterministic Turing machine. 2. Turing recognizable languages are closed under union and complementation. 3. Turing decidable languages are closed under intersection and complementation. 4.…MCQ1 markEasySolve
- GATE CSE 2013 · Q41Which of the following is/are undecidable? 1. is a CFG. Is ? 2. is a CFG. Is ? 3. is a Turing machine. Is regular? 4. is a DFA and is an NFA. Is ?MCQ2 marksEasySolve
- GATE CSE 2012 · Q4Assuming , which of the following is ?MCQ1 markEasySolve
- GATE CSE 2012 · Q24Which of the following problems are decidable? 1) Does a given program ever produce an output? 2) If is a context-free language, then, is also context-free? 3) If is a regular language, then, is also regular? 4) If is a recursive language, then, is …MCQ1 markMediumSolve
What GATE tests in Turing Machines and Undecidability
Concepts, patterns, formulas and traps distilled from past papers.
Across GATE CS, 'Turing machines and undecidability' is consistently tested through theoretical properties of computability and complexity classes. Questions primarily assess language hierarchies (Recursive vs. Recursively Enumerable), closure properties under complement and set operations, mapping reductions (), and Rice's Theorem applied to TM behavior. A frequent focus is distinguishing semantic properties of languages (undecidable) from finite-step or prefix-bounded properties of machine computations (decidable).
Core concepts
- Rice's Theorem (semantic/non-trivial properties of RE languages vs syntactic/step-bounded properties)
- Post's Theorem and complementation of RE / REC languages
- Many-to-one (mapping) reduction (A ≤m B) and its directional properties
- Polynomial-time reduction (A ≤p B) and NP-completeness foundations
- Decidability hierarchy: Regular (all standard decision problems decidable), CFL (emptiness, finiteness, membership decidable; universality, equivalence, ambiguity undecidable), TM (almost all semantic problems undecidable)
- Deterministic vs. Non-Deterministic Turing Machine equivalence
- Countable set of TMs vs. Uncountable set of languages (subset cardinality arguments)
- Formal definition of deciders vs recognizers (halting on all inputs)
- Countability of * (set of all finite strings)
- Uncountability of 2 * (power set of all strings / set of all languages)
- Application of Cantor's theorem to formal languages
- Lexicographical ordering of finite strings
- Closure properties of Regular languages
- Closure properties of Context-Free languages (CFLs)
- Closure properties of Recursive (Decidable) languages
- Closure properties of Recursively Enumerable (Turing-recognizable) languages
- Non-closure of CFLs under intersection
Recurring question patterns
Rice's Theorem and Semantic Properties vs. Step-Bounded Behavior
CommonMCQ2 marks2022, 2021, 2020, 2016Determining whether a language encoding TM properties (e.g., ) is decidable or undecidable. Tests understanding that non-trivial semantic properties of are undecidable by Rice's Theorem, whereas properties bounding the number of execution steps (e.g., 'takes more than steps') or finite tape head prefixes are decidable by bounded simulation.
Chomsky Hierarchy Decidability and Decision Properties Matrix
CommonMCQ1 marks2025, 2021, 2017, 2016Evaluating the decidability of classical decision problems (emptiness, universality, membership, equivalence, ambiguity, regularity) across Regular, Context-Free, and Turing-recognizable languages.
Mapping Reductions and Computability Propagation
CommonMCQ2 marks2016, 2015, 2014Analyzing implications of mapping reducibility ( or ) regarding decidability, recursive enumerability, and complexity classes (P, NP, NP-complete, NP-hard). Focuses on contrapositive arguments and directional inference.
Complement and Post's Theorem Combinations
Commonmixed1 marks2022, 2018, 2016, 2015Questions evaluating the relationship between a language and its complement (e.g., , or unions/intersections of different classes in the hierarchy).
Fundamental Definitions and Cardinality / Set-Theoretic Arguments
Occasionalmixed1 marks2026, 2022, 2021, 2018Testing core formal definitions of Turing machines (deciding vs. recognizing), countability of Turing machines vs. uncountability of languages, and existence of undecidable subsets within infinite regular languages.
Cardinality and Countability of Strings vs Languages
RareMCQ1 marks2014Determining whether string universes () and language sets () or specific language classes are countable or uncountable.
Closure Property Evaluation across Chomsky Hierarchy
CommonMSQ1 marks2023A set of theoretical assertions asking which closure properties hold for different classes of formal languages (Regular, CFL, Recursive, RE) under set-theoretic operations.
Formulas GATE uses
Post's Theorem
Used when analyzing the decidability of given the enumerability of and .
Mapping Reduction Decidability Transfer
Used when deducing the recursiveness or undecidability of languages under many-one reductions.
Mapping Reduction RE Transfer
Used when determining semi-decidability transfer or its contrapositive ().
Polynomial Reduction P Transfer
Used in complexity class questions involving reductions among problems in P, NP, and NP-hard.
Graph of a Computable Function
Used when relating functional computability of to language decidability of its encoding.
Cardinality of String Universe $\Sigma^*$
Used to establish that the set of all finite strings over a finite alphabet is countably infinite via standard lexicographical enumeration.
Cantor's Theorem for Language Universe
Used to prove that the set of all possible languages over is uncountably infinite.
De Morgan's Law for Regular Languages
Proving closure of regular languages under intersection using closure under complementation and union.
Examiner traps in Turing Machines and Undecidability
- Assuming Rice's Theorem applies to properties of the machine execution itself (e.g., 'M executes at least 2000 steps') rather than the language L(M) recognized.
- Reversing the direction of reduction: given A ≤m B, knowing A is decidable/RE tells nothing about B, and knowing B is undecidable/not RE tells nothing about A.
- Confusing Context-Free Language closure under complementation (CFLs are NOT closed under complement, but the complement of a CFL is always recursive/decidable).
- Assuming that because a problem is undecidable, it cannot be Recursively Enumerable (forgetting semi-decidability via dovetailed simulation).
- Confusing L(G) = ∅ (decidable for CFGs) with L(G) = * (undecidable for CFGs).
- Confusing the set of strings * (countably infinite) with the set of languages 2 * (uncountably infinite).
- Assuming * is finite because is finite.
- Assuming 2 * is countable because it is constructed over a finite alphabet .
- Assuming CFLs are closed under intersection by analogy to regular or recursive languages (e.g. confusing context-free with deterministic context-free or regular).
- Confusing the intersection of two CFLs with the intersection of a CFL and a regular language (which is context-free).
How questions are asked
- Multi-statement true/false evaluation across closure and decidability properties
- Classification of TM property languages into decidable, RE but undecidable, or not RE
- Identification of decidable vs undecidable problems from a listed set of classical decision questions
- Mapping reduction implication checks (A ≤m B / P ≤p Q)
- MSQ selection of all true computability assertions
- Direct conceptual multiple-choice question on countability properties
- Identify correct/incorrect statements regarding closure properties across language classes (MSQ/MCQ).
Paper trends
Introduction of step-bounded TM decision problems (e.g., simulating for steps on inputs of bounded length) as a recurring counter-example to Rice's Theorem.
2022, 2021, 2020, 2016
Adoption of MSQ format to test multiple distinct decidability and closure assertions simultaneously without negative marking.
2022, 2021
Heavy reliance on standard decision problem tables (emptiness, universality, equivalence) across grammar classes (CFG vs Regular vs TM).
2025, 2017, 2016, 2014, 2013, 2012
Appeared as a direct, 1-mark foundational conceptual question testing basic definitions of countable vs uncountable infinite sets in automata theory.
2014
Testing conceptual closure properties via Multiple Select Questions (MSQ) where each option corresponds to a distinct formal language class under the same operation.
2023
Difficulty notes
Easy questions directly recall closure properties or standard entries in the decidability table (e.g., emptiness of CFG vs TM, definition of TM decider). Medium questions involve reasoning through many-one reductions with complementation, dovetailed simulation arguments to separate RE from non-RE, or identifying step-bounded deciders that bypass Rice's Theorem.