Question

1. (TM descriptions) (a) Give the sequence of configurations that the following TM M enters when given as input strings 1##1start → 91 # = 1 + x,R 0 + 2, R 0,1 +RCq2+ RC980,1+R 93) x + R # → R -+ R # +R a+rce x + R C 94 () 2RC qaccept) x +R C 95 ) 0

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

The execution of the above Turing machine can be simulated using this table-

Here Bold character indicated the position of machine on string.

1##1 -

Curr. State Curr. string Curr. Character Move(L/R) New character New state Changed string
q1 1##1 1 R x q3 x##1
q3 x##1 # R - q5

x##1

q5 x##1 # R - REJECTED

Now the transition is not defined for symbol # in state q5. So it rejects the string 1##1.

It can be written as-

[q1]1##1 -> x[q3]##1 -> x#[q5]#1 -> REJECT

------------------------------------------------------------------------------------------------------------

0#0-

So the string is accepted.

It can be written as-

[q1]0#0 -> x[q2]#0 -> x#[q4]0 -> x[q6]#x -> [q7]x#x -> x[q1]#x -> x#[q8]x -> x#x[q8] -> ACCEPT

Please note that that the table was there just for explanation, the lines in bold were the actual notation used for turing machines.


I hope it helps. For any doubt, feel free to ask in comments, and give upvote if u get the answer.

Add a comment
Know the answer?
Add Answer to:
1. (TM descriptions) (a) Give the sequence of configurations that the following TM M enters when...
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
  • 19. (1 point) Suppose that L is undecidable and L is recognizable. Which of the following...

    19. (1 point) Suppose that L is undecidable and L is recognizable. Which of the following could be false? A. I is co-Turing recognizable. B. I is not recognizable. C. I is undecidable. D. L* is not recognizable. E. None of the above. 20. (2 points) Let ETM {(M)|L(M) = 0} and EQTM = {(M1, M2)|L(Mi) = L(M2)}. We want to show that EQTM is undecidable by reducing Etm to EQTM and we do this by assuming R is a...

  • 1) 2) Give formal descriptions (5-tuples) for the DFAs shown in figure below: 3) Give the...

    1) 2) Give formal descriptions (5-tuples) for the DFAs shown in figure below: 3) Give the state diagrams of DFAs recognizing the following languages over ? = {0, 1}: a) LÆ b) L? c) {e, 1001} d) {e, 101, 1001} e) {w : w has prefix 10} f) {w : w does not contain the substring 011} 4) Give the state diagrams of DFAs recognizing the following languages over ? = {0, 1}: a) {w: |w| ? 5} b) {w...

  • Use iteration to guess an explicit formula for the sequence... Materials for Reference: Homework Problems Solve the following problems 1. Use iteration to guess an explicit formula for the sequenc...

    Use iteration to guess an explicit formula for the sequence... Materials for Reference: Homework Problems Solve the following problems 1. Use iteration to guess an explicit formula for the sequence. Use the formulas from summation formula.pdf to simplify your answers whenever possible. (Follow the solution of exercise set 57-problem #5, on page A-43) dk-4dk-1+3, for all integers k2 2,where d1-2 2. Use iteration to guess an explicit formula for the sequence. Use the formulas from summation formula.pdf to simplify your...

  • please tell me how to do (p), (s), (t). 85 Exercises EXERCISE 1 on for each...

    please tell me how to do (p), (s), (t). 85 Exercises EXERCISE 1 on for each of the following languages. Give a regular expression for each of the follow ke the machine from 0 back, a. label rip from 0 back co state 0 on an input b. {abc, xyz] c. a, b, d. {ax | x € {a,b]"} e axb | x € {a,b}} [ {(ab)"} assing through 0. bo a piece we already have a input string. So...

  • A random sample of n = 10 regions in New England gave the following violent crime...

    A random sample of n = 10 regions in New England gave the following violent crime rates (per million population). x New England Crime Rate 3.3 3.7 4.2 3.9 3.3 4.1 1.8 4.8 2.9 3.1 Another random sample of n = 12 regions in the Rocky Mountain states gave the following violent crime rates (per million population). x, Rocky Mountain Crime Rate 3.7 4.1 4.7 5.1 3.3 4.8 3.5 2.4 3.1 3.5 5.2 2.8 Assume that the crime rate distribution...

  • B oth 100 Day PH262 Page 1 of 5 Lab #13 AC Circuits, Part 1 RC...

    B oth 100 Day PH262 Page 1 of 5 Lab #13 AC Circuits, Part 1 RC & RL, Phase Measurements THEORY The rotating phase representation for series AC circuits should be familiar from textbook and lecture notes A brief outline of the essential points is provided here. If a series RLC circuit is connected across a source of om which is a sinusoidal function of time, then und all its derivatives will also be inside. Sonce all demits in a...

  • Based on the document below, 1. Describe the hypothesis Chaudhuri et al ids attempting to evaluate;...

    Based on the document below, 1. Describe the hypothesis Chaudhuri et al ids attempting to evaluate; in other words, what is the goal of this paper? Why is he writing it? 2. Does the data presented in the paper support the hypothesis stated in the introduction? Explain. 3.According to Chaudhuri, what is the potential role of thew alkaline phosphatase in the cleanup of industrial waste. CHAUDHURI et al: KINETIC BEHAVIOUR OF CALF INTESTINAL ALP WITH PNPP 8.5, 9, 9.5, 10,...

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