Question: Question 1 . List the 7 missing configurations in the computation history of the Turing machine from Example 3 . 9 ( a Turing decider

Question 1. List the 7 missing configurations in the computation history of the Turing machine from Example 3.9(a Turing decider for {w#w|win{0,1}**}) on the input 01#01.
High-level algorithmic idea: Zig-zag across the tape to corresponding positions on either side of the # symbol to check whether these positions contain the same symbol. If not, or it no # is found, reject. Cross off symbols as they are checked to keep track. When all symbols to the left of the # have been crossed off, check for any remaining symbols to the right.
Low-level pseudocode and state diagram defining formal machine:
Turing decider M=({q1,dots,q8,qaccept,qreject},{0,1,#},{0,1,#,x,},,q1,qaccept,qreject)
While tape head is 0 or 1 :
Replace tape head b with x and move R.
Scan R for as long as the tape is 0 or 1.
If tape head = : reject .
Move R past # and scan R past every x.
If tape head b : reject.
Replace b with x and move L.
Scan L until # and then until first x.
Move R to the next unmatched character.
If tape head = #:
Move R and scan R until next non-x.
If tape head =: accept.
Else: reject.
Complete the seven missing configurations in the computation history of M on input
\table[[start config,first match,second match,final scan,accept config],[,C2=xq21#01,C9=,,],[,C3=x1q2#01,C10=,,],[,C4=x1#q401,C11=,C16=#q8,],[C1=q101#01,C5=x1q6#x1,C12=,C17=#xq8x,C19=#qaccept
 Question 1. List the 7 missing configurations in the computation history

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!