in Theory of Computation retagged by
5,774 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.
in Theory of Computation retagged by
by
5.8k views

4 Comments

@MiNiPanda AFAIK I think work tape is a memory just like we have stack as memory in PDA. But here work tape is bounded unlike stack memory which is unbounded. That's why I said this TM can't simulate PDA but it can simulate FA as no memory is required for FA.

0
0
So, u mean TM doesnot require memory?
0
0

Never said TM doesn't require memory. But this TM defined in the Q is limited in memory as it is mentioned "constant size work tape". To simulate FA this TM only needs read only input tape but it can't simulate PDA as work tape is limited in memory. Is this correct @Arjun Sir?

0
0

5 Answers

12 votes
12 votes
Best answer

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

1 comment

Source : Wikipedia 

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.

22
22
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

2 Comments

Can you explain how can it be a PDA?
0
0
I think FA.......if we restrict LBA with tape size then it will become FA and if we away ink in TM then it will become FA.
0
0
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