GATE CS 2021 Set 1 | Question 49
Theory of Computation › Undecidability · MCQ · 2 marks · Answer: A
- Question 49Theory of Computationmcq2 marksFor a Turing machine , denotes an encoding of . Consider the following two languages.Which one of the following options is correct?
- A.Both and are decidable.✓
- B.is decidable and is undecidable.
- C.is undecidable and is decidable.
- D.Both and are undecidable.
Answer: A
Solution
In at most 2021 steps a TM can read only the first 2021 input cells, so the behaviour depends on finitely many input prefixes. Both conditions can be checked by simulating for 2021 steps on these finitely many relevant inputs, so both and are decidable. - A.
More GATE PYQ on Undecidability
All GATE CS Theory of Computation PYQ →Attempt GATE CS 2021 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →