Give a description representation of a Turing Machine Mg for language B = {w over {0, 1, #)* | w contains an equal number of O's and 1's and w contains exactly 1 '#'). 10# € B, 01#10 E B, 01##01 € Band #001 € B. In this case, your description should be for a single tape TM.

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
Give a description representation of a Turing Machine Mg for language B = {w over {0, 1,
#3*| w contains an equal number of O's and 1's and w contains exactly 1 #"}. 10# E B, 01#10 EB,
01##01 € Band #001 € B. In this case, your description should be for a single tape TM.
In addressing be sure to pay special attention to final (halting) configurations, when required.
you are expected to provide pseudocode for the corresponding machines.
Remember that in your pseudocode, you need to be clear of what are your reading and writing
on the tape (and which tape if you use more than 1), the direction in which the tape heads will
move, and when the Turing Machine should halt and accept and/or halt and reject. Having said
that, the point is not for you to describe state-by-state what the Turing Machine would look like.
Instead, the goal of the description is for you to offer a high level overview that considers what to
read/write in which order, in which directions the tape would move and how you reach
accept/reject decision.
Transcribed Image Text:Give a description representation of a Turing Machine Mg for language B = {w over {0, 1, #3*| w contains an equal number of O's and 1's and w contains exactly 1 #"}. 10# E B, 01#10 EB, 01##01 € Band #001 € B. In this case, your description should be for a single tape TM. In addressing be sure to pay special attention to final (halting) configurations, when required. you are expected to provide pseudocode for the corresponding machines. Remember that in your pseudocode, you need to be clear of what are your reading and writing on the tape (and which tape if you use more than 1), the direction in which the tape heads will move, and when the Turing Machine should halt and accept and/or halt and reject. Having said that, the point is not for you to describe state-by-state what the Turing Machine would look like. Instead, the goal of the description is for you to offer a high level overview that considers what to read/write in which order, in which directions the tape would move and how you reach accept/reject decision.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 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.
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