Question: 1 6 ( 5 marks ) Consider the following high - level description of a Turing Machine. What language on { a , b }
marks
Consider the following highlevel description of a Turing Machine. What language on does
the TM accept?
Sweep Left to Right.
If there is an a after the first b
REJECT
Move head to Start. Search for a
IF found, replace with
ELSE Go to Step
REPEAT twice :
Search for b
IF found, replace with
ELSE REJECT
Go to Step
Move head to Start. Search for b
IF found, ACCEPT
ELSE REJECT
You may assume that the tape contains only s and at the start.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
