Discrete Mathematics and Its Applications, Seventh Edition

Published by McGraw-Hill Education
ISBN 10: 0073383090
ISBN 13: 978-0-07338-309-5

Chapter 13 - Section 13.5 - Turing Machines - Writing Projects - Page 903: 1

Answer

a) 1111 b) 011 c) 00001. d) 00.

Work Step by Step

Let T be the Turing machine defined by the fivetuples: (s0, 0, s1, 1,R), (s0, 1, s1, 0,R), (s0,B, s1, 0,R), (s1, 0, s2, 1,L), (s1, 1, s1, 0,R), and (s1,B, s2, 0,L). For each of these initial tapes, determine the final tape when T halts, assuming that T begins in initial position. a) The nonblank portion of the tape contains the string 1111 when the machine halts. b) The nonblank portion of the tape contains the string 011 when the machine halts. c) The nonblank portion of the tape contains the string 00001 when the machine halts. d) The nonblank portion of the tape contains the string 00 when the machine halts.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.