assignment 7 - Theory of Computation Daniel Gomez W. Owen...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Theory of Computation Daniel Gomez W. Owen Redwood Assignment 7 3.1 a. q10, uq2u, uu qaccept b. q100, uq2O, uxq3u, uq5 xu, q5uxu, uq 2 xu, uxq2u, uxu qaccept c. q1 000, uq200, uxq30, ux0q4u, ux0u qreject d. q1 000000, uq200000, uxq30000, ux0q4000, ux0xq300, ux0x0q40, ux0x0xq3u, ux0x0q5xu, ux0xq50xu, ux0q5x0xu, uxq50x0xu, uq5x0x0xu, q2ux0x0xu, qaccept ux0x0xu 3.2 This exercise concerns TM M1 whose description and state diagram appear in Example 3.9. In each of the parts, give the sequence of configurations that Al1 enters when started on the indicated input string. a. 11. --> q1 11, x q3 1, x 1 q3 . .. no transition for input. .. halt b. 1#1. --> q1 1 # 1, x q3 # 1, x # q5 1, x # q6 x, x q7 # x, x q1 # x, x # q8 x, x # x q8, x # x qaccept C. 1##1. --> q1 1 # # 1, x q3 # # 1, x # q5 # 1 . .. no transition for input. .. halt d. 10#11. --> q1 1 0 # 1 1, x q3 0 # 1 1, x 0 q3 # 1 1, x 0 # q5 1 1, x 0 # x q6 1, x 0 # q6 x 1, x 0 q7 # x 1, x q7 0 # x 1, x q1 0 # x 1, x x q2 # x 1, x x # q4 x 1, x x # x q4 1 . .. no transition for input, halt.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/29/2010 for the course COMP COP4420 taught by Professor Jones during the Spring '10 term at Aarhus Universitet, Aarhus.

Page1 / 2

assignment 7 - Theory of Computation Daniel Gomez W. Owen...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online