Computability questions

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

0/30 correct0 marks

Related topics in Theory of Computation