Question: Consider a Turing machine M 1 on alphabet = { 0 , 1 } with three states aside from qaccept and qreject. The start state

Consider a Turing machine M1 on alphabet ={0,1} with three
states aside from qaccept and qreject. The start state is q1. Here is the transition
function in table form:
q1 q2 q3
accept, R accept, R 1, q3, R
00, q2, R 1, q3, R 1, q2, R
11, q3, R 0, q2, R 0, q3, R
(A) Find a three letter word that this machine accepts.
(B) Find a three letter word that causes the machine to a infinite loop.
Note: There are only 8 words of length 3! If you are unsure how to
proceed, just test a few.
(C) This version has no access to qreject. Modify this to make a new
machine M2 which accepts when M1 accepts and rejects when M1
would go into an infinite loop.

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 Programming Questions!