Question

Discrete Mathematical Structures

Exercises 1. Draw a Turing machine that takes a string representing two unary numbers, x and y, separated by a 0, and determines whether x y. For example, the input for XE 3, y would be 11101111. Use two halt states: one for yes and one for no. 2. Give the trace of your machine in the previous problem processing the strings 111011 11 and 11110111. 3. Draw a TM that computes f(w) wR where w E (a b)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

CI,o,t) 8) Give the tue Your Machine n the n« evious problin) it (ur symbals is nove lett and nove righ and oneto o Move γ1move righr -convert Itoo til 111.0 소 left tonve亻ト自ヤ and HAUT *IU OI1 ~ 0 A move v OIA move i3hr [11101111ㅿ 1111 lI | Δ 1 o Asking is aba K,a,t) b, l

Add a comment
Know the answer?
Add Answer to:
Discrete Mathematical Structures Draw a Turing machine that takes a string representing two unary numbers, x...
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
  • Let x and y be positive integers, x > 0, y > 0, represented in unary....

    Let x and y be positive integers, x > 0, y > 0, represented in unary. Assume that x < y. Design a Turing Machine that computes the function: f(x, y) = y - x. More specifically, q0w(x)0w(y) | * qf w(y-x)0 Draw the transition graph of the TM. Make sure you clearly indicate initial/final states. Do not draw the block diagram! Here is an example: x = 2, y = 5 q-0 11011111| * qf 1110 Upload a file...

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