In the homework we saw Turing machines for AND, OR, NOT. Here's the definition for XOR. q® 0 B q1 q1 B R q2 q® 1 B q3 q3 B R q4 q4 0 1 q5 q4 1 0 q6 Trace the machine's execution on input 11 by showing the successive configurations. List one configuration per line with a single space separating each part of the configuration. Recall that the parts of the configuration are in the following order: current-state current-head tape-to-left tape- to-right.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 24PE
icon
Related questions
Question
In the homework we saw Turing machines for AND, OR, NOT. Here's the definition for XOR.
q0 0 B q1
q1 BR q2
д0 1 В q3
q3 BR q4
q4 0 1 q5
q4 1 0 q6
Trace the machine's execution on input 11 by showing the successive configurations. List one
configuration per line with a single space separating each part of the configuration. Recall that the
parts of the configuration are in the following order: current-state current-head tape-to-left tape-
to-right.
Use "e" for ɛ and use it only in the "tape-to-left" or "tape-to-right" positions when there is nothing
but blanks in those directions. Otherwise list all characters explicitly (and use B for a blank
character when needed).
initially q0 1 e 1
Step 1
Step 2
Step 3
Transcribed Image Text:In the homework we saw Turing machines for AND, OR, NOT. Here's the definition for XOR. q0 0 B q1 q1 BR q2 д0 1 В q3 q3 BR q4 q4 0 1 q5 q4 1 0 q6 Trace the machine's execution on input 11 by showing the successive configurations. List one configuration per line with a single space separating each part of the configuration. Recall that the parts of the configuration are in the following order: current-state current-head tape-to-left tape- to-right. Use "e" for ɛ and use it only in the "tape-to-left" or "tape-to-right" positions when there is nothing but blanks in those directions. Otherwise list all characters explicitly (and use B for a blank character when needed). initially q0 1 e 1 Step 1 Step 2 Step 3
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Problems on Turing Machines
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning