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

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 :

This question was previously asked in
UGC NET 2024 Computer Science and Applications Question Paper (23-Aug-2024) (Shift 1)
The correct answer is

(C), (D), (A), (B), (E)

A Turing machine move is governed by the transition function \(\delta(q, a) = (p, b, D)\): in state q, reading a, it enters state p, writes b and moves the head in direction D.

Step 1 — Reading a symbol from the tape (C): the head scans the symbol a in the current cell.

Step 2 — Transitioning to a new state (D): δ is applied to the pair (current state, symbol read) and selects the new state p together with the symbol to write and the move.

Step 3 — Writing a symbol on the tape (A): b replaces a in the scanned cell.

Step 4 — Moving the tape head (B): the head shifts one cell left or right.

Step 5 — Halting and accepting or rejecting (E): after repeating these moves, the machine stops when it reaches an accepting or rejecting state, or no move is defined.

The head cannot move before the symbol in the current cell has been written, which rules out the sequences that move before writing; writing before applying the transition is also wrong, because what to write is decided by the transition.

(C), (D), (A), (B), (E) 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. 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?


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. 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?

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