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 the state diagram for a single-tape Turing machine for the following language. L = {a#b#c...
(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.
Give the state diagram of a Turing machine that accepts the following language over S = {0,1}: {0m1n: m > n ≥ 0}
State diagrams for Turing Machines. Suppose you are given a string w ∈ {0,1}* placed on a Turing Machine tape. Give the state diagram for the Turing Machine required to take the initial string, w, and replace it on the tape with a new string, w′. The new string, w′, is formed by shifting the entire input string one cell to the right. Suppose you are given a string w ∈ {0, 1}* placed on a Turing Machine tape. Give...
State diagrams for Turing Machines. Suppose you are given a string w ∈ {a, b}* placed on a Turing Machine tape. Give the state diagram for the Turing Machine recognizing language: L = {w#w##w|w ∈ {a, b}*}.
(e) (1 point) Give a Turing machine configuration that is at state 94, with tape contents "CSE355" with the tape head over the "3"
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...
02-) Given a string from the language L(0+1) on the tape, give the program and draw the state diagram of a Turing Machine that can output on the tape: · 0: If the number of 0's > the number of l's 1: If the number of 1's the number of O's N: If the number of l's-the number of 0's Assume null string has an equal number of 0's and 1's. Use the following format for your instructions (5-tuple): <Current...
a) What language is accepted by the Turing machine d(%-a)-(%-a, R), d(%-a)-(9-a, R). (5) Design a Turing machine that will accept language OL-L6.a) (6) Design a Turing machine that will calculate fx)-3x. You must show the representation of s and 3x on the tape of Turing machine when the calculation starts and ends, respectively Extra Questions (20 points) 1. Fill the proper words in the blank (1) Given alphabet Σ, a language on Σ isa (2) Given a grammar G,...
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)...