Turing Machine Notation: States, Transition Function, and Configuration Representation, Slides of Introduction to Computers

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

2010/2011

Uploaded on 09/06/2011

stifler_11
stifler_11 🇬🇧

4.6

(9)

272 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
COMS11700 TUTORIAL ON TURING MACHINE NOTATION
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 q0 = 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).
pf2

Partial preview of the text

Download Turing Machine Notation: States, Transition Function, and Configuration Representation and more Slides Introduction to Computers in PDF only on Docsity!

COMS11700 TUTORIAL ON TURING MACHINE NOTATION

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 “xR” or “xL” as a shorthand for “xx,R” or “xx,L” (Sipser p.146).

COMS11700 TUTORIAL ON TURING MACHINE NOTATION

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.