Undecidability: GATE CS Previous Year Questions

Undecidability · Theory of Computation

16 questions · asked in 11 of 27 years (2000–2026)

MCQ 161-mark 9 · 2-mark 7

2000Questions per year2026

Questions 1–5 of 16

Q1GATE 20192 marksMCQ−0.67 if wrong
Consider the following sets:

S1: Set of all recursively enumerable languages over the alphabet {0, 1}.
S2: Set of all syntactically valid C programs.
S3: Set of all languages over the alphabet {0, 1}.
S4: Set of all non-regular languages over the alphabet {0, 1}.

Which of the above sets are uncountable?

Q2GATE 2017 (Session 2)2 marksMCQ−0.67 if wrong
Let L(R) be the language represented by regular expression R. Let L(G) be the language generated by a context free grammar G. Let L (M) be the language accepted by a Turning machine M. Which of the following decision problems are undecidable ?

I. Given a regular expression R and a string w, is w∈\inL(R)?
II. Given a context-free grammar G, L(G)=ϕ\phi?
III. Given a context-free grammar G, is L(G)=Σ\Sigma* for some alphabet Σ\Sigma?
IV. Given a Turning machine M and a string w, is w∈\inL(M)?

Q3GATE 2016 (Session 1)1 markMCQ−0.33 if wrong
Which of the following decision problems are undecidable?
I. Given NFAs N1 and N2, is L(N1)∩\capL(N2) = ϕ\phi?
II. Given a CFG G = (N,Σ\Sigma,P,S) and a string x∈Σ∗x \in\Sigma ^*, does x∈x \in L(G)?
III. Given CFGs G1 and G2, is L(G1) = L(G2)?
IV. Given a TM M, is L(M) = ϕ\phi?

Q4GATE 2015 (Session 2)1 markMCQ−0.33 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?

Q5GATE 2015 (Session 3)2 marksMCQ−0.67 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 language L4L_4. Which of the following is/are true?
I. if L4∈PL_4 \in P, then L2∈PL_2 \in P
II. if L1∈PL_1 \in P or L3∈PL_3 \in P, then L2∈PL_2 \in P
III. L1∈PL_1 \in P, if and only if L3∈PL_3 \in P
IV. if L4∈PL_4 \in P, then L1∈PL_1 \in P and L3∈PL_3 \in P

Keep practising

Topics in Theory of Computation

All CS topics ›