Question: For consider the following TM: Trace the execution chains of the following input strings on this machine: (i) aaa (ii) aba (iii) baaba (iv) ababb
For consider the following TM:

Trace the execution chains of the following input strings on this machine:
(i) aaa
(ii) aba
(iii) baaba
(iv) ababb
(a,a,L) (b,b,L) (#,#,R) 1 START (b.b,L) (a,a,L) (b,#,R) (a,#,R) 6 (#,#,R) (A.J.R) 2 3 HALT (b.#.L) (a,#,L) (a,a,R) (b,b,R) (A.A.L) (#,#,L) (b.b.R) (a.a,R) 4 (a.a,R) (b.b,R)
Step by Step Solution
3.37 Rating (163 Votes )
There are 3 Steps involved in it
i aaa Initial state q0 Tape aaa Head on the first a 1 Read a and write Z 2 Move the head right 3 Rea... View full answer
Get step-by-step solutions from verified subject matter experts
