Input Tape Аcсеptable? The state at halt Output Tape abccba No 95 XYZcba aabbcc aabbbc cba

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter10: Classes And Data Abstraction
Section: Chapter Questions
Problem 19PE
icon
Related questions
Question
6. Consider the following Turing Machine for
{a^n b^n c^n}. Determine whether each of the following
input tapes is accepted or not and find in which state
the machine halts and how the tape has been changed
at halt. See the example in the table below, and fill the
rest of the table. [Note: e stands for empty string]
B/B,R
a/X,R
b/b,R
a/a,R
Y/Y,R
b/Y,R
91
92
c/ZL
a/X,R
X/X,R
93
1'0/0
Y/Y,R
Y/Y,L
Z/ZL
B/B,R
Y/Y,R
U ZIZR
2
Input Tape
Аcсeptable?
The state at halt
Output Tape
abccba
No
95
XYZcba
aabbcc
aabbbc
cba
Transcribed Image Text:6. Consider the following Turing Machine for {a^n b^n c^n}. Determine whether each of the following input tapes is accepted or not and find in which state the machine halts and how the tape has been changed at halt. See the example in the table below, and fill the rest of the table. [Note: e stands for empty string] B/B,R a/X,R b/b,R a/a,R Y/Y,R b/Y,R 91 92 c/ZL a/X,R X/X,R 93 1'0/0 Y/Y,R Y/Y,L Z/ZL B/B,R Y/Y,R U ZIZR 2 Input Tape Аcсeptable? The state at halt Output Tape abccba No 95 XYZcba aabbcc aabbbc cba
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
Fundamentals of Boolean Algebra and Digital Logics
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