Construction of Tms
Construction of Tms
Turing Machines as Acceptors: If we construct a turing machine that accepts a given language.
Turing Machines as Transducers: If we construct a turing machine that computes a function.
A Turing Machine can be constructed by drawing a suitable Transition Diagram(TD)
or Transition Table(TT)or by writing suitable delta transitions(DT).
Examples for constructing Turing Machines as Acceptors:
{a, b}
1. Construct a turing machine which accepts the language of aba over
Ans:
...
q0
and
(q0,a) =(q1,b,R)
transition in a different
way.
transitions are:
(q0 , a) ( q1 , A, R)
(q1 , a ) (q1 , a, R)
(q1 , b) (q2 , B, L)
(q2 , a) (q2 , a, L)
(q2 , A) ( q0 , A, R)
(q1 , B) (q1 , B, R)
( q2 , B ) ( q 2 , B , L )
(q0 , B) ( q3 , B, R)
(q3 , B ) (q3 , B, R )
(q3 , ) (qa , , )
qa
where
state.
is the final