Working with Turing Machines




CS154

Chris Pollett

Apr. 13, 2020

Outline

Formal Definition of Turing Machine

Diagrams and Examples

Image of a TM in JFLAP

Configurations, Yields

Accept, Reject, Recognize, Decide

Transducers

Ways of Building Larger Turing Machines

A Simple Turing Machine

Building Bigger TMs

More on Diagrams

Examples

More Examples

Here is a machine which when started with a string `w` on the tape halts with `w\square w` on the tape.

Doubling TM

Quiz

Which of the following is true?

  1. To prove the CFL pumping lemma we used the PDA characterization of CFLs.
  2. Sequitur would compress the string abcdefg as Rabcdefg.
  3. The Context Free Languages are closed under intersection.

JFLAP

JFLAP Example

The Church-Turing Thesis