Skip to content

GATE CS Undecidability questions

Practise Undecidability questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ2025Theory of ComputationUndecidabilityMCQ · 1 mark
​​​​Let G1,G2G_{1}, G_{2} be Context Free Grammars (CFGs) and RR be a regular expression. For a grammar GG, let L(G)L(G) denote the language generated by GG. Which ONE among the following questions is decidable?
Official PYQ2021Theory of ComputationUndecidabilityMCQ · 2 marks
For a Turing machine MM, ⟨M⟩\langle M \rangle denotes an encoding of MM. Consider the following two languages. L1={⟨M⟩∣M takes more than 2021 steps on all inputs}L2={⟨M⟩∣M takes more than 2021 steps on some input}\begin{array}{ll} L_1 = \{ \langle M \rangle \mid M \text{ takes more than } 2021 \text{ steps on all inputs} \} \\ L_2 = \{ \langle M \rangle \mid M\text{ takes more than } 2021 \text{ steps on some input} \} \end{array} Which one of the …
Official PYQ2018Theory of ComputationUndecidabilityMCQ · 2 marks
Consider the following problems. L(G)L(G) denotes the language generated by a grammar GG. L(M) denotes the language accepted by a machine MM. For an unrestricted grammar GG and a string ww, whether w∈L(G)w \in L(G) Given a Turing machine MM, whether L(M)L(M) is regular Given two grammarG1G_1 and G2G_2, whether L(G1)=L(G2)L(G_1) = L(G_2) Given an …
Official PYQ2017Theory of ComputationUndecidabilityMCQ · 1 mark
Let AA and BB be finite alphabets and let #\# be a symbol outside both AA and BB. Let ff be a total function from A∗A^{*} to B∗B^{*}. We say ff is computable if there exists a Turing machine MM which given an input x∈A∗x \in A^{*}, always halts with f(x)f(x) on its tape. Let LfL_{f} denote the language …
Official PYQ2017Theory of ComputationUndecidabilityMCQ · 1 mark
Let L(R)L(R) be the language represented by regular expression RR. Let L(G)L(G) be the language generated by a context free grammar GG. Let L(M)L(M) be the language accepted by a Turing machine MM. Which of the following decision problems are undecidable? Given a regular expression RR and a string ww, is w∈L(R)w \in L(R)? Given a context-free …
Official PYQ2016Theory of ComputationUndecidabilityMCQ · 1 mark
Let XX be a recursive language and YY be a recursively enumerable but not recursive language. Let WW and ZZ be two languages such that Y‾\overline{Y} reduces to WW, and ZZ reduces to X‾\overline{X} (reduction means the standard many-one reduction). Which one of the following statements is TRUE?
Official PYQ2016Theory of ComputationUndecidabilityMCQ · 1 mark
Which of the following decision problems are undecidable? Given NFAs N1N_1 and N2N_2 , is L(N1)∩L(N2)=ΦL(N_1) \cap L(N_2) = \Phi Given a CFG G=(N,Σ,P,S)G = (N,\Sigma,P,S) and a string x∈Σ∗x \in \Sigma^{*}, does x∈L(G)x \in L(G)} ? Given CFGs G1G_1 and G2G_2, is L(G1)=L(G2)L (G_1) = L(G_2)? Given a TM MM, is L(M)=ΦL(M)=\Phi ?
Official PYQ2015Theory of ComputationUndecidabilityMCQ · 1 mark
Consider the following statements. The complement of every Turing decidable language is Turing decidable There exists some language which is in NP but is not Turing decidable If L is a language in NP, L is Turing decidable Which of the above statements is/are true?
Official PYQ2015Theory of ComputationUndecidabilityMCQ · 1 mark
Language L1L_1 is polynomial time reducible to language L2L_2. Language L3L_3 is polynomial time reducible to language L2L_2, which in turn polynomial time reducible to language L4L_4. Which of the following is/are true?  if L4∈P, then L2∈P\text{ if } L_4 \in P, \text{ then } L_2 \in P  if L1∈P or L3∈P, then L2∈P\text{ if } L_1 \in P\text{ or } L_3 \in P, \text{ then } L_2 \in P …
Official PYQ2014Theory of ComputationUndecidabilityMCQ · 1 mark
Let LL be a language and Lˉ\bar{L} be its complement. Which one of the following is NOT a viable possibility?
Official PYQ2014Theory of ComputationUndecidabilityMCQ · 1 mark
Let ⟨M⟩\langle M \rangle be the encoding of a Turing machine as a string over Σ={0,1}\Sigma=\left\{0,1\right\}. Let L={⟨M⟩∣M is a Turing machine that accepts a string of length 2014}.L=\left\{\langle M \rangle \mid M \text{ is a Turing machine}\\\text{ that accepts a string of length 2014} \right\}. Then LL is:
Official PYQ2014Theory of ComputationUndecidabilityMCQ · 1 mark
Let A ≤m BA\:\leq_m\:B denotes that language AA is mapping reducible (also known as many-to-one reducible) to language BB. Which one of the following is FALSE?
Official PYQ2014Theory of ComputationUndecidabilityMCQ · 1 mark
Consider the decision problem 2CNFSAT2CNFSAT defined as follows: {ϕ∣ϕ is a satisfiable propositional formula in CNF with at most two literals per clause}\left\{ \phi \mid \phi \text{ is a satisfiable propositional formula in CNF with at most two literals per clause}\right\} For example, ϕ=(x1∨x2)∧(x1∨x3ˉ)∧(x2∨x4)\phi = (x1 \vee x2) \wedge (x1 \vee \bar{x3}) \wedge (x2 \vee x4) is a Boolean formula and it is in 2CNFSAT2CNFSAT. The decision problem 2CNFSAT2CNFSAT is
Official PYQ2014Theory of ComputationUndecidabilityMCQ · 1 mark
Which one of the following problems is undecidable?
Official PYQ2013Theory of ComputationUndecidabilityMCQ · 1 mark
Which of the following is/are undecidable? GG is a CFG. Is L(G)=ϕL(G) = \phi? GG is a CFG. Is L(G)=Σ∗L(G) = \Sigma^*? MM is a Turing machine. Is L(M)L(M) regular? AA is a DFA and NN is an NFA. Is L(A)=L(N)L(A) = L(N)?
Official PYQ2013Theory of ComputationUndecidabilityMCQ · 1 mark
Which of the following statements are TRUE? The problem of determining whether there exists a cycle in an undirected graph is in PP. The problem of determining whether there exists a cycle in an undirected graph is in NPNP. If a problem A is NP−CompleteNP-Complete, there exists a non-deterministic polynomial time algorithm to solve AA
Official PYQ2012Theory of ComputationUndecidabilityMCQ · 1 mark
Which of the following problems are decidable? Does a given program ever produce an output? If LL is a context-free language, then, is Lˉ\bar{L} also context-free? If LL is a regular language, then, is Lˉ\bar{L} also regular? If LL is a recursive language, then, is Lˉ\bar{L} also recursive?
Official PYQ2010Theory of ComputationUndecidabilityMCQ · 1 mark
Let L1L_1 be the recursive language. Let L2L_2 and L3L_3 be languages that are recursively enumerable but not recursive. Which of the following statements is not necessarily true?
Official PYQ2008Theory of ComputationUndecidabilityMCQ · 1 mark
Which of the following statements is false?
Official PYQ2008Theory of ComputationUndecidabilityMCQ · 1 mark
If LL and L‾\overline{L} are recursively enumerable then LL is