Q1. What are Turing Machines and what do they consist of
Turing Machines are formal models of computation.
A finite state machine (to control transitions)
A read/write head (to process symbols)
A tape that is infinitely long in one direction and divided into cells
What can each cell on a Turing Machine’s tape contain?
Each cell can either be left blank or contain a symbol from the machine’s alphabet.
What is the alphabet of a Turing Machine and what is required of it?
The alphabet is the set of symbols that the machine uses. It must be finite.
How is a program defined in a Turing Machine?
A program is defined by a finite state machine, which has a single start state and may include one or more halting states.
When does a Turing Machine stop execution?
It stops after reaching a halting state, which can be entered at any point in execution, typically once all input data has been processed.
Why are Turing Machines more powerful than finite state machines?
Because they use an infinitely long tape, they can process a greater range of languages and are not limited like finite state machines
What is a transition function in a Turing Machine?
It defines the rules the machine follows. It is written as:
δ(current state, read) = (new state, write, move)
where δ (delta) represents the transition function.
What is a Universal Turing Machine (UTM)?
A Universal Turing Machine can simulate any turing machine. It reads both the description of the machine and its input from the same tape, acting as an interpreter by executing any algorithm and providing what is computable
Why are Turing Machines important in computer science?
-They provide a definition of what is computable.
They prove that some problems cannot be solved by computers, establishing limits of computation.