1. Given the following definition of a Turing machine M = (Q, E, I, 6, 9₁, 9accept, Greject): Q-91-9298- Jaccept-greject} Σ= {0, 1, #} • I = EU {z, u} . 8: 0-0, R 1-1,R 2-2, R 0-2,R 9 R z-2, R #-#.L 1-z,R 0-0,4 1-1,L 1-2, L 0-0, L 1-1,4 2-2, L 0-0, R 1-1,R #.R z-z.R Simulate the Turing machine on input (a) 010#1 and (b) 1# 1. Use the concept of configurations to illustrate the transitions. Garape Note: To simplify the figure, the reject state and transitions going to the reject state are not shown. Those transitions occur implicitly whenever a state lacks an outgoing transition for a particular symbol.

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
Assignment 6: Problem Set on TMs.
1. Given the following definition of a Turing machine M = (Q, E, I, 6, 91, accept, Greject):
• Q={91, 92,
98, Jaccept, greject}
« Σ = {0, 1, #}
• T = EU {z, u}
0-0, R
1-1,R
## .R
0-2,R
9
0-2, L
9:
97
0-0, L
1-1, L
#-#.R
1-2, R
9s
3. Prove that every regular language is decidable.
##.R
9
1-3, L
0-0, R
1-1, R
0-0, L
1-1,4
z-z, R
Simulate the Turing machine on input (a) 010#1 and (b) 1#1.
Use the concept of configurations to illustrate the transitions.
z-z.R
Garape
Note: To simplify the figure, the reject state and transitions going to the reject state are not shown.
Those transitions occur implicitly whenever a state lacks an outgoing transition for a particular
symbol.
R
2. Let A be the set of all strings over the alphabet (a, b) where the number of a's is twice as much
as the number of b's. Construct the state diagram of a Turing machine that recognizes A.
Transcribed Image Text:Assignment 6: Problem Set on TMs. 1. Given the following definition of a Turing machine M = (Q, E, I, 6, 91, accept, Greject): • Q={91, 92, 98, Jaccept, greject} « Σ = {0, 1, #} • T = EU {z, u} 0-0, R 1-1,R ## .R 0-2,R 9 0-2, L 9: 97 0-0, L 1-1, L #-#.R 1-2, R 9s 3. Prove that every regular language is decidable. ##.R 9 1-3, L 0-0, R 1-1, R 0-0, L 1-1,4 z-z, R Simulate the Turing machine on input (a) 010#1 and (b) 1#1. Use the concept of configurations to illustrate the transitions. z-z.R Garape Note: To simplify the figure, the reject state and transitions going to the reject state are not shown. Those transitions occur implicitly whenever a state lacks an outgoing transition for a particular symbol. R 2. Let A be the set of all strings over the alphabet (a, b) where the number of a's is twice as much as the number of b's. Construct the state diagram of a Turing machine that recognizes A.
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Problems on Turing Machines
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
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