(a) Give a high level description of a single-tape deterministic Turing machine that decides the language L = {w#x#y | w ∈ {0, 1} ∗ , x ∈ {0, 1} ∗ , y ∈ {0, 1} ∗ , and |w| > |x| > |y|}, where the input alphabet is Σ = {0, 1}. (b) What is the running time (order notation) of your Turing machine? Justify your answer.
The idea behind the design is if all symbols in y get crossed or blanked, we check if there is any symbol left in X,
if yes then cross or make blank all symbols in w corresponding the symbols in y. And now check if any symbol left in w
if yes, halt in accepting state
else halt in rejecting state
(a)
Here the language given is L = { w#x#y | w {0,1}* , x {0,1}*, y {0,1}* and |w| > |x| >|y|}
So let us design the Turing machine M for L as below:
For example :
(a) Give a high level description of a single-tape deterministic Turing machine that decides the language...
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 even number of Is) over the alphabet (0,1) 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 even number of Is)...
Give the implementation-level description of a Turing machine that decides the following language over the alphabet a, b, c^. You are encouraged but not required to use a multi- tape and/or nondeterministic Turing Machine. Lan n s a positive integer )
. Please design a standard TM (i.e., a single semi-infinite tape, deterministic) for the laın guage of all palindromes over alphabet {a, b} . Please give both the high-level description (text description or pseudo-code algorithm) and the low-level state transition diagram. Please analyze how many steps (one transition is considered as a step) it takes to accept an input palindrome with n symbols . Please design a deterministic Turing machine with two semi-infinite tapes for the same language. Please give...
Give an informal description of a deterministic Turing machine for the language L = {w ∈ {0, 1}* | w is not of the form (01)^n (10)^n for n ≥ 0}.
Specify in detail a (deterministic) a Turing machine that accepts the language L = a* ba* (your Turing machine must halt on input w if, and only if, w € L). Remember: since your machine is deterministic, it must have a well-defined behavior for any possible symbol of the input alphabet, i.e, a, b, and #, in each state, except that you only need to ensure that your Turing machine behaves correctly when started in the configuration (s, #w#). Thus,...
Give the state diagram for a single-tape Turing machine for the following language. L = {a#b#c | a, b, c ∈ { 0 , 1 }∗ and a,b,c all have the same number of zeroes} Assume Σ = { 0 , 1 }
Give a high level description of a turing machine that performs binary addition. When started with tape contents u#V where u and v are strings in {0,1}, it should halt with a single binary string on the tape, denoting the sum of the naturals denoted by u and v
Formally describe a 2-tape deterministic Turing Machine that accepts strings on the {0,1} alphabet. Such strings have the number of "0" double than "1".
Introduce a Turing machine to decide the languages to follow. You must Algorithmic description, but with a sufficient level of detail. You can use the variants of the original model of the Turing machine. {w w^R w | where w is a word formed by 0's and 1's} {w ∈ {a, b}∗| w is a palindrome and has the same number of a's and b's}. Please describe which variant of Turing whether it is with a tape or multi tape....
Specify a Turing machine with input alphabet Σ = {a, b} that recognizes the language L = { ww | w ∈ Σ ∗}. Is L decidable?