Turing machine
being the binary representation of number 37; execute the Turing machine, following the given transition function.
37: 100101
Well, let's begin our machine ...
see that the machine starts in a state S.
Then assign a 0 at the beginning, and moves one space to the right.
Moving to the next position is a 1, and write a 1, and moves one space to the right.
Being a 0 in the following two positions in each of them writes a zero and moves one space to the right.
The following position is a 1, write 1 and moves one space to the right.
0 comments:
Post a Comment