Undecidability questions

Q25

GATE CS 2025 CS-2ComputabilityMCQ1 mark−1/3 if wrong
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?
Show answer without attempting

Answer: D

Q23

GATE CS 2022 CSComputabilityMSQ1 mark
Which of the following statements is/are TRUE?
More than one option can be correct.
Show answer without attempting

Answer: B, C, D

Q46

GATE CS 2022 CSComputabilityMSQ2 marks
Which of the following is/are undecidable?
More than one option can be correct.
Show answer without attempting

Answer: A, B, C

Q12

GATE CS 2021 CS-1ComputabilityMSQ1 mark
Let ⟨M⟩\langle M \rangle denote an encoding of an automaton MM. Suppose that Σ={0,1}\Sigma = \{0, 1\}. Which of the following languages is/are NOT recursive?
More than one option can be correct.
Show answer without attempting

Answer: D

Q39

GATE CS 2021 CS-1ComputabilityMCQ2 marks−2/3 if wrong
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}L_1 = \{\langle M \rangle \mid M \text{ takes more than 2021 steps on all inputs}\}
L2={⟨M⟩∣M takes more than 2021 steps on some input}L_2 = \{\langle M \rangle \mid M \text{ takes more than 2021 steps on some input}\}
Which one of the following options is correct?
Show answer without attempting

Answer: A

Q26

GATE CS 2020 CSComputabilityMCQ2 marks−2/3 if wrong
Which of the following languages are undecidable? Note that ⟨M⟩\langle M \rangle indicates encoding of the Turing machine M.

L1={⟨M⟩∣L(M)=∅}L_1 = \{\langle M \rangle \mid L(M) = \emptyset\}
L2={⟨M,w,q⟩∣M on input w reaches state q in exactly 100 steps}L_2 = \{\langle M, w, q \rangle \mid M \text{ on input } w \text{ reaches state } q \text{ in exactly 100 steps}\}
L3={⟨M⟩∣L(M) is not recursive}L_3 = \{\langle M \rangle \mid L(M) \text{ is not recursive}\}
L4={⟨M⟩∣L(M) contains at least 21 members}L_4 = \{\langle M \rangle \mid L(M) \text{ contains at least 21 members}\}
Show answer without attempting

Answer: A

Q36

GATE CS 2018 CSComputabilityMCQ2 marks−2/3 if wrong
Consider the following problems. L(G)L(G) denotes the language generated by a grammar GG. L(M)L(M) denotes the language accepted by a machine MM.

(I) For an unrestricted grammar GG and a string ww, whether w∈L(G)w \in L(G)
(II) Given a Turing machine MM, whether L(M)L(M) is regular
(III) Given two grammars G1G_1 and G2G_2, whether L(G1)=L(G2)L(G_1) = L(G_2)
(IV) Given an NFA NN, whether there is a deterministic PDA PP such that NN and PP accept the same language.

Which one of the following statements is correct?
Show answer without attempting

Answer: D

Q41

GATE CS 2017 CS-2ComputabilityMCQ2 marks−2/3 if wrong
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?

I. Given a regular expression RR and a string ww, is w∈L(R)w \in L(R)?
II. Given a context-free grammar GG, is L(G)=∅L(G) = \emptyset?
III. Given a context-free grammar GG, is L(G)=Σ∗L(G) = \Sigma^* for some alphabet Σ\Sigma?
IV. Given a Turing machine MM and a string ww, is w∈L(M)w \in L(M)?
Show answer without attempting

Answer: D

Q17

GATE CS 2016 CS-1ComputabilityMCQ1 mark−1/3 if wrong
Which of the following decision problems are undecidable?
I. Given NFAs N1N_1 and N2N_2, is L(N1)∩L(N2)=ΦL(N_1) \cap L(N_2) = \Phi?
II. 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)?
III. Given CFGs G1G_1 and G2G_2, is L(G1)=L(G2)L(G_1) = L(G_2)?
IV. Given a TM MM, is L(M)=ΦL(M) = \Phi?
Show answer without attempting

Answer: C

Q44

GATE CS 2016 CS-1ComputabilityMCQ2 marks−2/3 if wrong
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?
Show answer without attempting

Answer: C

Q44

GATE CS 2016 CS-2ComputabilityMCQ2 marks−2/3 if wrong
Consider the following languages.
L1={⟨M⟩∣M takes at least 2016 steps on some input}L_1 = \{\langle M \rangle \mid M \text{ takes at least 2016 steps on some input}\}
L2={⟨M⟩∣M takes at least 2016 steps on all inputs}L_2 = \{\langle M \rangle \mid M \text{ takes at least 2016 steps on all inputs}\}
L3={⟨M⟩∣M accepts ε}L_3 = \{\langle M \rangle \mid M \text{ accepts } \varepsilon\}

where for each Turing machine MM, ⟨M⟩\langle M \rangle denotes a specific encoding of MM. Which one of the following is TRUE?
Show answer without attempting

Answer: C

Q41

GATE CS 2015 CS-3ComputabilityMCQ2 marks−2/3 if wrong
Language L1L_1 is polynomial time reducible to language L2L_2. Language L3L_3 is polynomial time reducible to L2L_2, which in turn is polynomial time reducible to L4L_4. Which of the following is/are true?

I.if L4∈P, then L2∈PII.if L1∈P or L3∈P, then L2∈PIII.L1∈P, if and only if L3∈PIV.if L4∈P, then L1∈P and L3∈P\begin{array}{rl} \text{I.} & \text{if } L_4 \in P \text{, then } L_2 \in P \\ \text{II.} & \text{if } L_1 \in P \text{ or } L_3 \in P \text{, then } L_2 \in P \\ \text{III.} & L_1 \in P \text{, if and only if } L_3 \in P \\ \text{IV.} & \text{if } L_4 \in P \text{, then } L_1 \in P \text{ and } L_3 \in P \end{array}
Show answer without attempting

Answer: C

Q20

GATE CS 2015 CS-2ComputabilityMCQ1 mark−1/3 if wrong
Consider 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 L is a language in NP, L is Turing decidable

Which of the above statements is/are true?
Show answer without attempting

Answer: D

Q16

GATE CS 2014 CS-2ComputabilityMCQ1 mark−1/3 if wrong
Let A≤mBA \leq_m B denotes that language A is mapping reducible (also known as many-to-one reducible) to language B. Which one of the following is FALSE?
Show answer without attempting

Answer: D

Q35

GATE CS 2014 CS-2ComputabilityMCQ2 marks−2/3 if wrong
Let ⟨M⟩\langle M \rangle be the encoding of a Turing machine as a string over Σ={0,1}\Sigma = \{0, 1\}. Let L={⟨M⟩∣M is a Turing machine that accepts a string of length 2014}L = \{ \langle M \rangle \mid M \text{ is a Turing machine that accepts a string of length } 2014 \}. Then, LL is
Show answer without attempting

Answer: B

Q35

GATE CS 2014 CS-3ComputabilityMCQ2 marks−2/3 if wrong
Which one of the following problems is undecidable?
Show answer without attempting

Answer: A

Q35

GATE CS 2014 CS-1ComputabilityMCQ2 marks−2/3 if wrong
Let LL be a language and Lˉ\bar{L} be its complement. Which one of the following is NOT a viable possibility?
Show answer without attempting

Answer: C

Q41

GATE CS 2013 CSComputabilityMCQ2 marks−2/3 if wrong
Which of the following is/are undecidable?

1. GG is a CFG. Is L(G)=ΦL(G) = \Phi?
2. GG is a CFG. Is L(G)=Σ∗L(G) = \Sigma^*?
3. MM is a Turing machine. Is L(M)L(M) regular?
4. AA is a DFA and NN is an NFA. Is L(A)=L(N)L(A) = L(N)?
Show answer without attempting

Answer: D

Q24

GATE CS 2012 CSComputabilityMCQ1 mark−1/3 if wrong
Which of the following problems are decidable?

1) Does a given program ever produce an output?
2) If LL is a context-free language, then, is L‾\overline{L} also context-free?
3) If LL is a regular language, then, is L‾\overline{L} also regular?
4) If LL is a recursive language, then, is L‾\overline{L} also recursive?
Show answer without attempting

Answer: D

0/190 correct0 marks

Related topics in Computability