Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Consider the Turing machine R1 which is defined by ={a,b},={a,b,c,B} and states Q={q0,q1qa,qr} and whose program is the following five tuples: (q0,a,q0,c,R)(q1,a,q0,b,L)(q0,c,q0,a,R)(q1,b,qr,c,R)(q0,b,q1,b,R)(q1,c,q0,a,R)(q0,B,qr,a,R)(q1,B,qa,b,R) (i). Carry

image text in transcribed

1. Consider the Turing machine R1 which is defined by ={a,b},={a,b,c,B} and states Q={q0,q1qa,qr} and whose program is the following five tuples: (q0,a,q0,c,R)(q1,a,q0,b,L)(q0,c,q0,a,R)(q1,b,qr,c,R)(q0,b,q1,b,R)(q1,c,q0,a,R)(q0,B,qr,a,R)(q1,B,qa,b,R) (i). Carry out the computation of R1 on the string aba. Show your work as the tape head travels over the tape, changing states and symbols. State what string is left on the tape when this computations halts, and say whether the TM accepts aba or rejects it. (ii). Do the same as you did in part (i) except for the computation of R1 on the string bbaba. (iii). Do the same as you did in part (i) except for the computation of R1 on the string abaab

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro PowerShell For Database Developers

Authors: Bryan P Cafferky

1st Edition

1484205413, 9781484205419

More Books

Students also viewed these Databases questions