All Exams Test series for 1 year @ ₹349 only
Question

Consider the following statements:

(A) For every regular language, we can design Turing Machine

(B) For every context free language, we can design Turing Machine

Which of the following is correct?

This question was previously asked in
UGC NET 2022 Computer Science and Applications Question Paper (15-Mar-2023) (Shift 1)
The correct answer is

Statement-A and Statement-B both are true.

The Chomsky hierarchy orders language classes by inclusion: regular ⊂ context-free ⊂ context-sensitive ⊂ recursive ⊂ recursively enumerable. A Turing machine can simulate any finite automaton or pushdown automaton, so every language in the lower classes has a Turing machine.

Statement A — A regular language is accepted by a DFA. A Turing machine can imitate the DFA by reading the tape left to right, moving right each step, never writing, and entering its accepting halt state when the DFA would accept at the blank. So a Turing machine exists for every regular language; A is true.

Statement B — A context-free language is accepted by a pushdown automaton, and a Turing machine can keep the stack on a second track (or tape) of its tape. Moreover, CFL membership is decidable (CYK algorithm), so a Turing machine that always halts exists. B is true.

Since both statements hold, the choices claiming one or both of them false are wrong.

Statement-A and Statement-B both are true option is correct.

Was this answer helpful?

Similar Questions

  1. Which of the following represents the output of the transition function(δ)

    δ (q0 , a) = (q1 , x, R)
    δ (q1 , a) = (q1 , a, R)
    δ (q1 , y) = (q1 , y, R)
    δ (q1 , b) = (q2 , y, L)
    δ (q2 , y) = (q2 , y, L)
    δ (q2 , a) = (q2 , a, L)
    δ (q2 , x) = (q0 , x, R)
    δ (q0 , y) = (q3 , y, R)
    δ (q3 , y) = (q3 , y, R)
    δ (q3 , □) = (qf , □, R)

  2. Given a Turing Machine

    M = ({q0, q1, q2, q3}, {a, b}, {a, b, B}, δ, B, {q3})

    Where δ is a transition function defined as

    δ(q0, a) = (q1, a, R)

    δ(q1, b) = (q2, b, R)

    δ(q2, a) = (q2, a, R)

    δ(q2, b) = (q3, b, R)

    The language L(M) accepted by the Turing Machine is given as :

  3. Arrange the following stages of a Turing Machine (TM) operation in the correct order as they occur during computation.

    (A) Writing a symbol on the tape

    (B) Moving the tape head left to right

    (C) Reading a symbol from the tape

    (D) Transitioning to a new state based on the current state and symbol read

    (E) Halting and accepting or rejecting the input

    Choose the correct answer from the options given below :


Important Questions from Turing Machines

  1. Given a Turing Machine, M to determine whether M ever moves its head to the left when started with input W is:
  2. Which one of the following statements is equivalent to the following assertion?
    Turing machine $M$ decides the language $L \subseteq \{0,1\}^*$
  3. Which of the following represents the output of the transition function(δ)

    δ (q0 , a) = (q1 , x, R)
    δ (q1 , a) = (q1 , a, R)
    δ (q1 , y) = (q1 , y, R)
    δ (q1 , b) = (q2 , y, L)
    δ (q2 , y) = (q2 , y, L)
    δ (q2 , a) = (q2 , a, L)
    δ (q2 , x) = (q0 , x, R)
    δ (q0 , y) = (q3 , y, R)
    δ (q3 , y) = (q3 , y, R)
    δ (q3 , □) = (qf , □, R)

  4. Given a Turing Machine

    M = ({q0, q1, q2, q3}, {a, b}, {a, b, B}, δ, B, {q3})

    Where δ is a transition function defined as

    δ(q0, a) = (q1, a, R)

    δ(q1, b) = (q2, b, R)

    δ(q2, a) = (q2, a, R)

    δ(q2, b) = (q3, b, R)

    The language L(M) accepted by the Turing Machine is given as :

  5. Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R 

    Assertion A: $L = \{a^n b^n c^n : n \ge 0\}$ is accepted by a linear bounded automata. 

    Reason R: Linear bounded automata's recognize exactly the class of context sensitive languages. 

    In the light of the above statements, choose the most appropriate answer from the options given below

Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
WB SET
December 13, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) December 2026 Mock Test Series
799 Tests 2 Tests Free
300 Attempts
4.4(45)
English, Hindi
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App