Turing Machine Adder - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Turing Machine Adder

Description:

Any program you can write on a computer can also be written as ... Goto. Action. State. Example. accept. 0 E 1 (14) E - E T. 0 E 1 6 T 9 (13) reduce by T F ... – PowerPoint PPT presentation

Number of Views:37
Avg rating:3.0/5.0
Slides: 7
Provided by: itt7
Category:
Tags: adder | goto | machine | turing

less

Transcript and Presenter's Notes

Title: Turing Machine Adder


1
Turing Machine Adder
  • Input string of 1s separated by zeros
  • E.g., 01101110 gt 2 3
  • Output string of 1s surrounded by 0s.
  • E.g., 0111110 (5)

2
(No Transcript)
3
Fascinating Facts
  • Any program you can write on a computer can also
    be written as a TM program
  • TM programs with P complexity are P complexity on
    a computer
  • TM programs that are NP are NP on a computer.
  • TM is complete
  • Parsers look remarkably like TMs
  • Parsers look like TMs, programs are like TMs . .
    . .

4
Example
  • E -gt E T T
  • T -gt T F F
  • F -gt (E) id

5
Example
6
Example
Write a Comment
User Comments (0)
About PowerShow.com