0
15kviews
Design a turing machine that computes a function f(m,n)=m+n i.e. addition of two integers

Mumbai University > Computer Engineering > Sem 4 > Theoretical Computer Science

Marks: 10M

Year: Dec 2016

1 Answer
1
2.0kviews

The turing machine will have 0^m 10^n on its tape initially.

Therefore, it will start with the leftmost 0, go on scanning 0’s, and moving right keeping them as it is, till it get 1, it replaces this 1 by 0, and then again go on scanning 0’s and moving …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.