GATE CS 2021 Set 1 — Question 40

Multiple choice 2 marks Question 40 2021

Question 40

MCQ 2 marks · −0.66 Theory of Computation

For a Turing machine \(M\), \(\langle M \rangle\) denotes an encoding of \(M\). Consider the following two languages.

\(L_1 = \{\langle M \rangle \mid M\) takes more than 2021 steps on all inputs\(\}\)
\(L_2 = \{\langle M \rangle \mid M\) takes more than 2021 steps on some input\(\}\)

Which one of the following options is correct?

Answers and explanations are free — they just need an account.

Where this question comes from

Source: GATE 2021 Computer Science and Information Technology, Set 1, Q40 (question number approximate)