CSC262 Theory of Computation

Theory of ComputationTU Board 2081

11. For the following Turing Machine, test whether the string "( ) ( )" is accepted or rejected and represent it in transition diagram. [5] State ( ) X Y B q 0 (q 1, X, R) – – (q 0, Y, R) (q 3, B,…

5
  1. For the following Turing Machine, test whether the string "( ) ( )" is accepted or rejected and represent it in transition diagram. [5]

State
(
)
X
Y
B
q_0
(q_1, X, R)
–
–
(q_0, Y, R)
(q_3, B, R)
q_1
(q_1, (, R)
(q_2, Y, L)
–
(q_1, Y, R)
–
q_2
(q_2, (, L)
–
(q_0, X, R)
(q_2, Y, L)
–
q_3
–
–
–
(q_3, Y, R)
(q_4, B, R)
q_4
–
–
–
–
–

A worked answer is on its wayMeanwhile, read the Theory of Computation notes for this topic.

Discussion

Loading…

More Theory of Computation questions

All Theory of Computation old questions