

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Information on the components of a turing machine, including its states, input and tape alphabets, start and accept states, and transition function. It also includes exercises for students to complete, such as filling in the transition function table and representing the machine's configurations. The document assumes the reader has a basic understanding of turing machines as outlined in sipser's text.
Typology: Slides
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Consider a Turing machine T with
states Q = {a,b,c,d,e}
input alphabet = {0,1,2}
tape alphabet = {0,1,2,} where “” is the blank symbol
start state q 0 = a accept state qa = d
reject state qr = e
transition func. = the function defined by the following table (which gives the
current state, read symbol, next state, write symbol, L/R):
a,,d,,R a,0,b,,R a,1,c,,R b,,d,0,R b,0,b,0,R b,1,c,0,R c,,d,1,R c,0,b,1,R c,1,c,1,R
QUESTION 1: Complete the following graphical representation of
Note that, for simplicity, you may omit the reject state and any implicit transitions to it – as these are assumed to “occur implicitly whenever a state lacks an outgoing transition for a particular symbol” (Sipser p.147). In addition, you may use the notation “xR” or “xL” as a shorthand for “xx,R” or “xx,L” (Sipser p.146).
QUESTION 2: Complete the following tubular representation of the configurations of M when it is applied to the input 1011001
0: **** 1 0 1 1 0 0 1 _ _
1:
2:
3:
4:
5: _ 1 0 1 1 0 1 _ _
6:
7:
8:
Note that, for clarity, you may enclose the state within angle brackets so that it stands out more clearly from the input symbols.
QUESTION 2: Give a high level description of the operation of M.