retagged by
5,806 views
21 votes
21 votes
Show that the Turing machines, which have a read only input tape and constant size work tape, recognize precisely the class of regular languages.
retagged by

5 Answers

Best answer
12 votes
12 votes

A read-only Turing machine or Two-way deterministic finite-state automaton (2DFA)is class of models of computability that behave like a standard Turing machine and can move in both directions across input, except cannot write to its input tape. The machine in its bare form is equivalent to a Deterministic finite automaton in computational power, and therefore can only parse a regular language.

https://en.wikipedia.org/wiki/Read-only_Turing_machine

selected by
0 votes
0 votes

ans can be PDA or FINITE AUTOMETA

which contain fixed space(FA with 1 STACK) , and can only make read operation,and accepts all regular languages

0 votes
0 votes

according to the CHOMSKY HEIRARCHI ,every FINITE AUTOMATA is an TURING MACHINE

so, every  FINITE AUTOMATA   is an TM ,with finite length in TAPE, and with an ACCESSABILITY of read only.

FA,PDA,LBA all are TM

0 votes
0 votes
I think the logic should be as follows:

WHAT DOES A FINITE AUTOMATA DO?

It sees the input one by one and switches the states according to the input.

NOW HOW READ-ONLY TM equals FA and not even CFL?

Now the input tape can be just used to read the input and nothing else. And work tape can be used to simulate the FA rules and accept/reject the input.

Since the work tape is also constant size and not O(input size), therefore we cannot even copy the input to work tape.

With write capability off, we cannot even pop the inputs and hence CFLs are also not possible. But just provide tape with stack operations capability and then the TM will even recognize the CFLs.

Related questions

48 votes
48 votes
3 answers
1
Arjun asked Nov 15, 2015
4,389 views
Show that all vertices in an undirected finite graph cannot have distinct degrees, if the graph has at least two vertices.
40 votes
40 votes
9 answers
2
52 votes
52 votes
2 answers
3
Kathleen asked Sep 12, 2014
6,483 views
Find the number of binary strings $w$ of length $2n$ with an equal number of $1's$ and $0's$ and the property that every prefix of $w$ has at least as many $0's$ as $1's....
25 votes
25 votes
3 answers
4
Kathleen asked Sep 12, 2014
4,338 views
Consider the binary tree in the figure below:What structure is represented by the binary tree?