r/AskComputerScience • • 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

17 comments sorted by

View all comments

Show parent comment

1

u/tehclanijoski Jan 19 '26

Ordinary TMs are finitary machines in the sense that they have only finitely many states and take input of finitely many bits. This is true of pretty much any algorithm you can think of.

If the size of an egg can be encoded as a b-ary word somehow (which surely it can with machine vision or whatever), then yes a TM can do what you describe.

Luckily, to the best of our knowledge, there are only finitely many eggs at one time in our universe.

1

u/Party-Cartographer11 Jan 19 '26

I was thinking of a physical TM that uses a certain size hole to determine egg size.  So yes binary - the egg fits through the hole, or it doesn't.

In an infinite universe I think there are an infinite number of eggs, but that is a different discussion. 😁