





























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






























2
4
Finite control Infinite tape with tape symbols B: blank symbol (special symbol reserved to indicate data boundary) Input & output tape symbols Tape head This is like the CPU & program counter Tape is the memory
7
8
n
n
10
n
n
Next Tape Symbol Curr. State
q 0 (q 1 ,X,R) - - (q 3 ,Y,R) - q 1 (q 1 ,0,R) (q 2 ,Y,L) - (q 1 ,Y,R) - q 2 (q 2 ,0,L) - (q 0 ,X,R) (q 2 ,Y,L) - q 3 - - - (q 3 ,Y,R) (q 4 ,B,R) *q 4 - -- - - - Table representation of the state diagram *state diagram representation preferred
11
n
2n
q 0 q 1
q 3
q 4
q 5
q 2
Decidable Vs Recursive Enumerable
n
2n
n
2n
n
n
m
n
n
n
n