Question

4. (6 pts) Give an implementation-level description (describe how you would move the tape head, what you write on the tape, e
0 0
Add a comment Improve this question Transcribed image text
Answer #1

4)Language : {w|w contains an even number of 1's }over the alphabet {0,1}
Implementation level description of Turing machine:
1)on state q0 if 0 comes in input then don't write anything just move head right, stay on q0 only
2)on state q0 if 1 comes in input then move to state q1, and don't write anything just move head right
3)on state q1 if 0 comes in input then don't write anything just move head right, stay on q1 only
4)on state q1 if 1 comes in input then move to state q0, and don't write anything just move head right
5)on state q0 if input is empty, then move to final state qf

Add a comment
Know the answer?
Add Answer to:
4. (6 pts) Give an implementation-level description (describe how you would move the tape head, what you write on the tape, etc) of a Turing machine that decides the language (w w contains an eve...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT