All mock tests are FREE till 31 December — register to save your progress

For a statement L ⊆ Σ∗ A language is recursive if there exists M some turing machine . Which of the following conditions is satisfied for ω any string ? ω ∈ L M ω M

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. If , then halts without reaching to acceptable state ω ∈ L M

Explanation

A recursive language's TM halts on every input: it accepts strings in L and halts in a non-accepting state for strings not in L.

More Theory of Computation and Compilers questions