edited by
411 views
0 votes
0 votes

Define a two-headed finite automaton $(2DFA)$ to be a deterministic finite automaton that has two read-only, bidirectional heads that start at the left-hand end of the input tape and can be independently controlled to move in either direction. The tape of a $2DFA$ is finite and is just large enough to contain the input plus two additional blank tape cells, one on the left-hand end and one on the right-hand end, that serve as delimiters. A $2DFA$ accepts its input by entering a special accept state. For example, a $2DFA$ can recognize the language $\{a^{n}b^{n}c^{n}\mid n\geq 0\}$.

  1. Let $A_{2DFA} = \{ \langle M, x \rangle  \mid \text {M is a 2DFA and M accepts}\: x\}$. Show that $A_{2DFA}$ is decidable.
  2. Let $E_{2DFA} = \{\langle M \rangle \mid \text{M is a 2DFA and} \:L(M) = \emptyset\}$. Show that $E_{2DFA}$ is not decidable.
edited by

Please log in or register to answer this question.

Related questions

329
views
0 answers
0 votes
admin asked Oct 19, 2019
329 views
Give an example of an undecidable language $B$, where $B \leq_{m} \overline{B}$.
1.1k
views
0 answers
1 votes
admin asked Oct 19, 2019
1,126 views
Consider the problem of determining whether a Turing machine $M$ on an input w ever attempts to move its head left at any point during its computation on $w$. Formulate this problem as a language and show that it is decidable.
325
views
0 answers
0 votes
admin asked Oct 19, 2019
325 views
Consider the problem of determining whether a Turing machine $M$ on an input $w$ ever attempts to move its head left when its head is on the left-most tape cell. Formulate this problem as a language and show that it is undecidable.
496
views
0 answers
1 votes
admin asked Oct 20, 2019
496 views
A two-dimensional finite automaton $(2DIM-DFA)$ is defined as follows. The input is an $m \times n$ rectangle, for any $m, n \geq 2$. The ... machines are equivalent. Formulate this problem as a language and show that it is undecidable.