Move one cell left: (0, 0, 0, L, 1) (0, 1, 1, L, 1) Add 1 (1, 0, 1, L, 2) Move left (1, 1, 0, L, 1) Carry (1, A, 1, S, halt) Done Find left end of the string (2, 0, 0, L, 2) (2, 1, 1, L, 2) (2, A, A, R, halt) Done In the following, fill out the blanks in the following sum computation process for the given natural number 54 (= 1101102). For each step, put the instruction to be used for that step in the blank on the left side, and fill out the blank(s) in the I/O tape on the right side. (1 point each blank) 10 A110110 A (instruction for this step) (instruction for this step) State=0 10 A110110 A State = 10 A110100A (instruction for this step) State= 10 A110000A (instruction for this step) State (instruction for this step) 10 A111000A State = From this point on, every digit read by the TM will be kept the same until the left end of the string is reached.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

The following is the instruction set of a Turing machine (TM) that computes
the sum of 2 and a given natural number represented as a binary string. The
read/write head of the TM starts at the right end of the given natural number
and halts at the left end of the output string. The start state of the TM is 0. 

(fill in the blanks as needed, write on the screenshot if possible)

Move one cell left:
(0, 0, 0, L, 1)
(0, 1, 1, L, 1)
Add 1
(1, 0, 1, L, 2)
Move left
(1, 1, 0, L, 1)
Carry
(1, A, 1, S, halt)
Done
Find left end of the string
(2, 0, 0, L, 2)
(2, 1, 1, L, 2)
(2, A, A, R, halt)
Done
In the following, fill out the blanks in the following sum computation process
for the given natural number 54 (= 1101102). For each step, put the
instruction to be used for that step in the blank on the left side, and fill out
the blank(s) in the I/O tape on the right side. (1 point each blank)
10
A110110 A
(instruction for this step)
(instruction for this step)
State=0
10
A110110 A
State =
Transcribed Image Text:Move one cell left: (0, 0, 0, L, 1) (0, 1, 1, L, 1) Add 1 (1, 0, 1, L, 2) Move left (1, 1, 0, L, 1) Carry (1, A, 1, S, halt) Done Find left end of the string (2, 0, 0, L, 2) (2, 1, 1, L, 2) (2, A, A, R, halt) Done In the following, fill out the blanks in the following sum computation process for the given natural number 54 (= 1101102). For each step, put the instruction to be used for that step in the blank on the left side, and fill out the blank(s) in the I/O tape on the right side. (1 point each blank) 10 A110110 A (instruction for this step) (instruction for this step) State=0 10 A110110 A State =
10
A110100A
(instruction for this step)
State=
10
A110000A
(instruction for this step)
State
(instruction for this step)
10
A111000A
State =
From this point on, every digit read by the TM will be kept the same until the
left end of the string is reached.
Transcribed Image Text:10 A110100A (instruction for this step) State= 10 A110000A (instruction for this step) State (instruction for this step) 10 A111000A State = From this point on, every digit read by the TM will be kept the same until the left end of the string is reached.
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education