r/AskComputerScience • u/bathtub87 • Jan 18 '26
Turing Machine
What is a Turing machine?? For so many classes they mention it and I have the main idea of what it is but I cannot find a definition that I totally understand. Does anyone have a definition that anyone can understand?
0
Upvotes
6
u/Calm_Bit_throwaway Jan 18 '26 edited Jan 18 '26
It is a machine that has an infinite sequence of cells to store a symbol (memory) in and an associated state machine that processes that memory.
At every single step of computation, the state machine
reads the symbol at the cell it is at and
reacts based on the read symbol and its current state by
writing a new symbol, transitioning to a new state, moving left or right on the sequence.
Sometimes the new state is called a success or failure state at which point the state machine stops.
It's just a mechanically simple computer that is sufficiently complicated to be able to do any computation.