Learn How a Turing Machine Performs Addition | Finite Automata Lesson 87 🤖

Discover how a Turing Machine can be used as an adder in this comprehensive lesson. Perfect for those with basic Turing machine knowledge, and ready to deepen your understanding of automata theory!

Wisdomers - Computer Science and Engineering 1.9K views4:10

About this video

Turing Machine as Adder In this class, We discuss Turing Machine as Adder. The reader should have prior knowledge of constructing the Turing machine. Click Here. We can use the Turing machine for adding two numbers, and in our example, we use unary numbers. First, we understand unary numbers. We write the Decimal value five as five zeros in the unary number system. X = 5 written as 00000 Similarly, Y = 6 is written as six zeros 000000. The below diagram shows the storage of unary numbers in the tape memory. Decimal value five showed as five zero's. Decimal value six showed as six zero's. To separate the two numbers, we use the symbol X. When we add five and six, we get 11. Decimal value eleven showed as eleven zero's Logic: The turing machine starts at the start of the input. We move right till we find 'X.' We covert the symbol 'X' to zero. Now on the tape, we have 12 zeros. We need to change one zero to a blank symbol. We move to the end of the input till we find a blank. We convert the last zero to blank. We remain with eleven zeros. The below diagram shows the Turing machine for addition. The state q0 used to move till we find 'X.' On state q0, if we see input symbol 0, we move right. On the state q0, if we see the input symbol 'X,' we change to zero and move right and move to state q1. The state q1 is used to move the end of the second input. On state q1, if we see input symbol 0, we move right till we find a blank. On state q1, if we see the input symbol 'B,' we move left and move to state q2. On state q2, if we see the input symbol zero, we convert to zero and move to halt state. Link for playlists: https://www.youtube.com/channel/UCl8x4Pn9Mnh_C1fue-Yndig/playlists Link for our website: https://learningmonkey.in Follow us on Facebook @ https://www.facebook.com/learningmonkey Follow us on Instagram @ https://www.instagram.com/learningmonkey1/ Follow us on Twitter @ https://twitter.com/_learningmonkey Mail us @ learningmonkey01@gmail.com

Tags and Topics

This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:

Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.

4.4

1 user review

Write a Review

0/1000 characters

User Reviews

0 reviews

Be the first to comment...

Video Information

Views
1.9K

Total views since publication

Likes
26

User likes and reactions

Duration
4:10

Video length

Published
Feb 22, 2022

Release date

Quality
hd

Video definition

Related Trending Topics

LIVE TRENDS

This video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!

THIS VIDEO IS TRENDING!

This video is currently trending in Indonesia under the topic 'steam machine gaming console'.

Share This Video

SOCIAL SHARE

Share this video with your friends and followers across all major social platforms including X (Twitter), Facebook, Youtube, Pinterest, VKontakte, and Odnoklassniki. Help spread the word about great content!