GATE CSE · Theory Of Computation
Generate GATE-level questions covering definition of Turing Machines, transitions, configurations, variants (multi-tape, non-deterministic), and language recognition. Include TM design problems.
Concept summary for GATE CSE 2027 · 15 practice questions available
A Turing Machine is a mathematical model of computation consisting of an infinite tape, a read/write head, a finite set of states, and a transition function. It defines the limits of what is algorithmically computable.
TM = (Q, Σ, Γ, δ, q₀, q_accept, q_reject) where:
| Model | Memory | Accepts |
|---|---|---|
| DFA | States only | Regular |
| PDA | Stack (LIFO) | CFL |
| LBA | Tape bounded by input | CSL |
| TM | Infinite tape | RE |
| Multi-tape TM | Multiple tapes | RE (same power) |
| Non-deterministic TM | Infinite tape, nondeterministic | RE (same power) |
Key equivalences: Multi-tape TM = single-tape TM = Non-deterministic TM in power (all recognize RE languages). However NTM can be exponentially faster.
Complement:
A single TM U that simulates any TM M on input w, given ⟨M,w⟩ (encoding of M and w).
TMs can be encoded as strings over {0,1} → countably many TMs. Languages over {0,1} are uncountably infinite (2^(Σ*) is uncountable). Therefore most languages have no TM → most problems are undecidable.
Configuration: (q, tape_contents, head_position) - represents complete snapshot
NTM and DTM have same computational power - both recognize exactly RE. NTM is not more powerful than DTM, just potentially faster. Multi-tape TM does not increase power but can reduce time complexity. UTM proves general-purpose computers are possible. L is decidable iff both L and L̄ are RE - key theorem directly tested.