NTM Handout Toc
NTM Handout Toc
NTM Handout Toc
TURING MACHINES
Abhijit Das
Theorem
For every NTM N, there exists a DTM D with L (D) = L (N).
Theorem
For every total NTM N, there exists a total DTM D with L (D) = L (N).
C0
C1 C2 C3
C4 C5 C6
C7 C8 C9 C10 C11
C0
Finite
C1 C2 C3 Control
C4 C5 C6 # C0 # C1 # C2 # C3 # C4 # C5 # C6 # C7 # C8 #
# C9 # C5 # C5 #
C7 C8 C9 C10 C11
5. A TM M has a two-way infinite tape. Initially, all cells on the tape are blank. Only
one cell is storing the symbol #. The head of M is pointing to a blank. The task of M
is to locate the cell storing #. Propose a strategy for doing this
(a) if M is an NTM, and
(b) if M is a DTM.
(c) Compare the nondeterministic and deterministic running times.