Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3 (a) Construct a 2-tape DTM M that decides the language below (specify the TM in tabular compositional form) L, = {w E (0+1)*

image text in transcribedimage text in transcribed

Question 3 (a) Construct a 2-tape DTM M that decides the language below (specify the TM in tabular compositional form) L, = {w E (0+1)* | w = u.u , u (0+1)*) (b) Repeat part (a) for Ly = {w E (0+1)* | w = u", u E (0+1)*) where N is a given integer constant Question 6 Construct in tabular compositional form the details of a 3-tape universal TM that uses the tape alphabet Ey ={#,0,1,$,';', (,)} with 7 characters, where tape 1 simulates the actual tape contents of the simulated DTM in encoded form ; tape 2 is read-only and has the contents of the transition function of the simulated TM in encoded form; and tape 3 has the contents of the encoded current state of the simulated TM ; all as described in class. To make life simple choose the encoding of the states and the input alphabet of the simulated machine in fixed number of binary digits by adding zeros to the left of the codes if necessary (else you will have expansion and compression problems in simulated tape contents). Question 3 (a) Construct a 2-tape DTM M that decides the language below (specify the TM in tabular compositional form) L, = {w E (0+1)* | w = u.u , u (0+1)*) (b) Repeat part (a) for Ly = {w E (0+1)* | w = u", u E (0+1)*) where N is a given integer constant Question 6 Construct in tabular compositional form the details of a 3-tape universal TM that uses the tape alphabet Ey ={#,0,1,$,';', (,)} with 7 characters, where tape 1 simulates the actual tape contents of the simulated DTM in encoded form ; tape 2 is read-only and has the contents of the transition function of the simulated TM in encoded form; and tape 3 has the contents of the encoded current state of the simulated TM ; all as described in class. To make life simple choose the encoding of the states and the input alphabet of the simulated machine in fixed number of binary digits by adding zeros to the left of the codes if necessary (else you will have expansion and compression problems in simulated tape contents)

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

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions