assignment 7

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

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

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. e. 10#10. --> q1 1 0 # 1 0, x q3 0 # 1 0, x 0 q3 # 1 0, x 0 # q5 1 0, x 0 # x q6 1, x 0 # q6 x 0, x 0 q7 # x 0, x q7 0 # x 0, x q1 0 # x 0, x x q2 # x 0, x x # q4 x 0, x x # x q4 0, x

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern