Computability questions — page 1 of 2

Q13

GATE CS 2026 CS-2ComputabilityMCQ1 mark−1/3 if wrong
Which one of the following statements is equivalent to the following assertion?
Turing machine MM decides the language L⊆{0,1}∗L \subseteq \{0,1\}^*
Show answer without attempting

Answer: D

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

Q7

GATE CS 2018 CSComputabilityMCQ1 mark−1/3 if wrong
The set of all recursively enumerable languages is
Show answer without attempting

Answer: B

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

Q39

GATE CS 2017 CS-1ComputabilityMCQ2 marks−2/3 if wrong
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 xx in A∗A^*, always halts with f(x)f(x) on its tape. Let LfL_f denote the language {x#f(x)∣x∈A∗}\lbrace x\#f(x) \mid x \in A^* \rbrace.
Which of the following statements is true:
Show answer without attempting

Answer: A

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

Q28

GATE CS 2015 CS-1ComputabilityMCQ1 mark−1/3 if wrong
For any two languages L1L_1 and L2L_2 such that L1L_1 is context-free and L2L_2 is recursively enumerable but not recursive, which of the following is/are necessarily true?

I. L1‾\overline{L_1} (complement of L1L_1) is recursive
II. L2‾\overline{L_2} (complement of L2L_2) is recursive
III. L1‾\overline{L_1} is context-free
IV. L1‾∪L2\overline{L_1} \cup L_2 is recursively enumerable
Show answer without attempting

Answer: D

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

Q26

GATE CS 2015 CS-2ComputabilityMCQ1 mark−1/3 if wrong
Consider two decision problems Q1,Q2Q_1, Q_2 such that Q1Q_1 reduces in polynomial time to 3-SAT and 3-SAT reduces in polynomial time to Q2Q_2. Then which one of the following is consistent with the above statement?
Show answer without attempting

Answer: A

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

0/200 correct0 marks

Related topics in Theory of Computation