The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 6 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
Problem 4
Give a clear description of a TM that recognizes the language A = {0m#0n#0m–n | m>n = 1}. In other words, a string belongs to A if and only if it consists of three #-delimited strings of 0s such that the number of 0s in third string is equal to the number of 0s in the first string minus the number of 0s in the second string. Note that the constraint m>n = 1 implies that all three strings of 0s are nonempty. Your description should be clear and detailed. You do not have to write a Turing machine program (e.g., like Figure 3.8 or Figure 3.10 of our text), but it should be possible to write such a program based on your description.
Problem 5
Recall the ‘emptiness testing’ language ETM = {M> | M is a TM and L(M)=Æ}. Define a mapping reduction from ??"# (the complement of ETM) to the language B = {Q> | Q is a TM such that 011ÎL(Q)}. You can use the fact that ??"# is Turing recognizable and can assume there exists a recognizer Rfor ??"# in your construction (you don’t have to describe how R works).
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll