GATE CS 2021, set 1 · Question 49 · Theory of Computation · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
For a Turing machine M, ⟨ M ⟩ denotes an encoding of M. Consider the following two languages.
L₁ = {⟨ M ⟩ | M takes more than 2021 steps on all inputs} ; L₂ = {⟨ M ⟩ | M takes more than 2021 steps on some input}
Which one of the following options is correct?
- (A) Both L₁ and L₂ are decidable.
- (B) L₁ is decidable and L₂ is undecidable.
- (C) L₁ is undecidable and L₂ is decidable.
- (D) Both L₁ and L₂ are undecidable.
Answer
Answer (A)
Answer from the official GATE CS 2021 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes