GATE CS 2022 | Question 46
Theory of Computation › Undecidability · MSQ · 2 marks · Answer: A, B, C
- Question 46Theory of Computationmsq2 marksWhich of the following is/are undecidable?
- A.Given Turing machines M1, M2, decide if L(M1)=L(M2).✓
- B.Given a Turing machine M, decide if L(M) is regular.✓
- C.Given a Turing machine M, decide if M accepts all strings.✓
- D.Given a Turing machine M, decide if M takes more than 1073 steps on every string.
Answer: A, B, C
Solution
Answer: (A), (B) and (C) Equivalence of two TMs (A), whether is regular (B), and whether accepts all strings / (C) are all undecidable (by Rice's theorem for the language properties, and reduction for equivalence). (D) is DECIDABLE: run for 1073 steps on all strings up to length 1073 — a finite check determines whether it ever halts within 1073 steps. - A.
More GATE PYQ on Undecidability
All GATE CS Theory of Computation PYQ →Attempt GATE CS 2022 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →