Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Give as much detail as possible when answering these questions (a) Let L = {x E {0, )' x ends with 1). First describe in

Give as much detail as possible when answering these questions

image text in transcribed

(a) Let L = {x E {0, )' x ends with 1). First describe in English, and then give a full description of a deterministic Turing machine M = Q, .q-ga gr, deciding L. Your English descrip- tion should explain what your Turing machine is doing, and your full description should include a table for . Use only states go, q1:ga and qr, and take -{0, 1, (b) List a sequence of configurations describing the computation of your Turing machine from the previous subquestion on the string 010. Now do the same for the string 11. Finally, what sequence of configurations would your Turing machine go through on blank input? (c) Describe in English a Turing machine that, on an input of the form 1*Ow, where w E 0,1), inserts a special symbol # after k characters of w and then erases prefix 1k0. That is, when started on an input of the form 1*Owi... Wn, your Turing machine should end in configuration qawi wk#wk+1 wn, for example on input 1 100 10 101 it should end in gaol#0101. f the input is not of the form 1k0wi wn for k > 0, or 1w k, your TM should reject (end in rejecting state, any tape content/head position). Hint: add new symbols to

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

The Structure Of The Relational Database Model

Authors: Jan Paredaens ,Paul De Bra ,Marc Gyssens ,Dirk Van Gucht

1st Edition

3642699588, 978-3642699580

More Books

Students also viewed these Databases questions

Question

How can we measure health?

Answered: 1 week ago