Move three cells left (0, 0, 0, L, 1) (0, 1, 1, L, 1) Add 1: Move left (1, 0, 0, L, 2) (3, 1, 0, L, 3) Carry (1, 1, 1, L, 2) (1, A, 0, L, 2) Done Find left end of the string: Done and then fill out the blanks in the following chart to make it a complete state transition diagram for this TM. Make sure the instructions you choose fit into the diagram naturally and logically. In the diagram, state H means the 'Halt' state. You have to use your own text boxes here too. (1 point each blank) 1 O, L 0 O.L 0 A 0,L O,L 0 1 2 3 4 1 1 1,L 1.L H Given an integer say 45, to find the sum of 45 with 8 in binary form (see the figure below), we can use the TM designed in slides 79-90 of the notes "Turing Machines and Equivalent Models I" twice to find the result. A more effective way is to design a TM to do the addition with 8 directly. 1000 101101 A + = ? Such a TM can be designed by extending the TM designed in slides 79-90 of the notes "Turing Machines and Equivalent Models I". The TM has 14 instructions and 6 states: 0, 1, 2, 3, 4, and halt. Six instructions of such a TM have been given in the first and the second tables below. Fill out the remaining blanks in the first and the second tables and also blanks in the third table to show the remaining instructions of the TM (you have to use your own text boxes here)

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 24PE
icon
Related questions
Question
Move three cells left
(0, 0, 0, L, 1)
(0, 1, 1, L, 1)
Add 1:
Move left
(1, 0, 0, L, 2)
(3, 1, 0, L, 3)
Carry
(1, 1, 1, L, 2)
(1, A, 0, L, 2)
Done
Find left end of the string:
Done
and then fill out the blanks in the following chart to make it a complete state
transition diagram for this TM. Make sure the instructions you choose fit into
the diagram naturally and logically. In the diagram, state H means the 'Halt'
state. You have to use your own text boxes here too. (1 point each blank)
1
O, L
0
O.L
0 A
0,L O,L
0
1
2
3
4
1
1
1,L
1.L
H
Transcribed Image Text:Move three cells left (0, 0, 0, L, 1) (0, 1, 1, L, 1) Add 1: Move left (1, 0, 0, L, 2) (3, 1, 0, L, 3) Carry (1, 1, 1, L, 2) (1, A, 0, L, 2) Done Find left end of the string: Done and then fill out the blanks in the following chart to make it a complete state transition diagram for this TM. Make sure the instructions you choose fit into the diagram naturally and logically. In the diagram, state H means the 'Halt' state. You have to use your own text boxes here too. (1 point each blank) 1 O, L 0 O.L 0 A 0,L O,L 0 1 2 3 4 1 1 1,L 1.L H
Given an integer say 45, to find the sum of 45 with 8 in binary form (see
the figure below), we can use the TM designed in slides 79-90 of the notes
"Turing Machines and Equivalent Models I" twice to find the result. A more
effective way is to design a TM to do the addition with 8 directly.
1000
101101 A
+
=
?
Such a TM can be designed by extending the TM designed in slides 79-90
of the notes "Turing Machines and Equivalent Models I". The TM has 14
instructions and 6 states: 0, 1, 2, 3, 4, and halt. Six instructions of such a
TM have been given in the first and the second tables below. Fill out the
remaining blanks in the first and the second tables and also blanks in the
third table to show the remaining instructions of the TM (you have to use
your own text boxes here)
Transcribed Image Text:Given an integer say 45, to find the sum of 45 with 8 in binary form (see the figure below), we can use the TM designed in slides 79-90 of the notes "Turing Machines and Equivalent Models I" twice to find the result. A more effective way is to design a TM to do the addition with 8 directly. 1000 101101 A + = ? Such a TM can be designed by extending the TM designed in slides 79-90 of the notes "Turing Machines and Equivalent Models I". The TM has 14 instructions and 6 states: 0, 1, 2, 3, 4, and halt. Six instructions of such a TM have been given in the first and the second tables below. Fill out the remaining blanks in the first and the second tables and also blanks in the third table to show the remaining instructions of the TM (you have to use your own text boxes here)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning