12. Turing Machine - 8/27/09 Turing Machine Read/Write Move...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 8/27/09 Turing Machine Read/Write Move Left/Right B B Read/Write Head 1 State Qi 8/27/09 11 8/27/09 State Diagram for Modulus 3 Q0 Q1 Q2 Start 1 1 1 Q3 Q4 B B B 8/27/09 22 8/27/09 Turing Machine Program To Compute Values State B 1 Q0 3,0,L, 0,B,R 1,B,R Q1 3,1,L 2,B,R 0,B,R Q2 4,0,L 1,B,R 2,B,R Q3 Halt Halt Halt Q4 3,1,L 3,1,L 3,1,L 8/27/09 33 8/27/09 Modulus 3 53 % 3 B B 1 1 1 1 State Q0 State B 1 Q0 3,0,L,0,B,R 1,B,R Q1 3,1,L 2,B,R 0,B,R Q2 4,0,L 1,B,R 2,B,R Q3 Halt Halt Halt Q4 3,1,L 3,1,L 3,1,L New State Write B 8/27/09 44 8/27/09 Modulus 3 53 % 3 B B B 1 1 1 State Q1 State B 1 Q0 3,0,L,0,B,R 1,B,R Q1 3,1,L 2,B,R 0,B,R Q2 4,0,L 1,B,R 2,B,R Q3 Halt Halt Halt Q4 3,1,L 3,1,L 3,1,L 8/27/09 55 8/27/09 Modulus 3 53 % 3 B B B B 1 1 State Q0 State B 1 Q0 3,0,L,0,B,R 1,B,R Q1 3,1,L 2,B,R 0,B,R Q2 4,0,L 1,B,R 2,B,R Q3 Halt Halt Halt Q4 3,1,L 3,1,L 3,1,L Write B 8/27/09 66 8/27/09 Modulus 3 53 % 3 B B B B B 1 1 State Q0 State B 1 Q0 3,0,L,0,B,R 1,B,R Q1 3,1,L 2,B,R 0,B,R Q2 4,0,L 1,B,R 2,B,R Q3 Halt Halt Halt Q4 3,1,L 3,1,L 3,1,L New State Write B 8/27/09 77 8/27/09 Modulus 3 53 % 3 B B B B B B 1 State Q1 State B 1 Q0 3,0,L,0,B,R 1,B,R Q1 3,1,L 2,B,R 0,B,R Q2 4,0,L 1,B,R 2,B,R Q3 Halt Halt Halt Q4 3,1,L 3,1,L 3,1,L New State Write B 8/27/09 88 8/27/09 Modulus 3 53 % 3 B B B B B B B 1 State Q2 State B 1 Q0 3,0,L,0,B,R 1,B,R Q1 3,1,L 2,B,R 0,B,R Q2 4,0,L 1,B,R 2,B,R Q3 Halt Halt Halt Q4 3,1,L 3,1,L 3,1,L Write B 8/27/09 99 8/27/09 Modulus 3 53 % 3 B B B B B B B B State Q2 State B 1 Q0 3,0,L,0,B,R 1,B,R Q1 3,1,L 2,B,R 0,B,R Q2 4,0,L 1,B,R 2,B,R Q3 Halt Halt Halt Q4 3,1,L 3,1,L 3,1,L New State Write 0 8/27/09 1010 8/27/09 Modulus 3 53 % 3 B B B B B B B State Q4 State B 1 Q0 3,0,L,0,B,R 1,B,R Q1 3,1,L 2,B,R 0,B,R Q2 4,0,L 1,B,R 2,B,R Q3 Halt Halt Halt Q4 3,1,L 3,1,L 3,1,L New State Write 1 8/27/09 1111 8/27/09...
View Full Document

This note was uploaded on 08/26/2009 for the course MATH 224 taught by Professor Waxman during the Fall '08 term at Southern Illinois University Edwardsville.

Page1 / 41

12. Turing Machine - 8/27/09 Turing Machine Read/Write Move...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online