engineering recuitment GATE CSE 2023-24 Test Series Theory of Computation Recursively Enumerable Sets, Turing Machines and Undecidability Turing Machines
A single tape Turing Machine M has six states {q0, q1, q2, q3, q4, q5}, of q0 and q5 are initial state and final state respectively. The tape alphabet of M is {a, b, B} and its input alphabet is {a, b}. The symbol B is the blank symbol used to indicate end of an input string. The transition function of M is given below:
δ(q0, a) = (q1, a, R),
δ(q1, a) = (q2, a, R),
δ(q2, a) = (q3, a, R),
δ(q3, a) = (q3, a, R),
δ(q3, b) = (q4, b, R),
δ(q3, B) = (q5, B, L),
δ(q4, b) = (q4, b, R),
δ(q4, B) = (q5, B, L),
The transition δ(q0, a) = (q1, a, R) signifies that if M is in state q0 and reads a on the current page square, then it writes a on the same tape square, moves its tape head one position to the right and transition to state q1.1
M accepts set of all strings over {a, b}
2
M accepts the language L = aaa+b*
3
M accepts the language L = aaa(a + b)*
4
M accepts the language L = aaaa*b+