(a) Give the sequence of configurations that the following TM M enters when given as input...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
(a) Give the sequence of configurations that the following TM M enters when given as input strings 1# #1 and 0#0. Please use the same representation for your configurations as we did in lecture 10. The reject state and transitions to the reject state are not shown. Whenever the TM encounters a character for which there is no explicit transition that means that the TM goes to the reject state. We say that the head moves right in each of these transitions to the reject state. start x → R 91 0→x, R 0,1→ RC 92 #→R →R 94 0,1→ 0,1→L 97 #→→R 1→x, R x→R 98 0,1 → R 93 0→x, L #→L qaccept 1 R x→R 95 1 → x, L # → R 960, 1, x→ L (b) Give an implementation level description of a TM, possibly nondeterministic and/or with multiple tapes, that recognizes the following language over the alphabet {0,1}: {s#a1#az#... #an| where n is a positive integer, s, a₁,..., an are binary integers such that some subset of a₁,..., an sums to s}. (c) Give a state diagram of the TM whose implementation level description is below. "On input w 1. If the first symbol is blank then accept. If it is b then reject. If it is a then erase this a and go to the right and go to the next step. 2. Move the head on the tape right until the blank symbol is found. After it is found move the head to the left (to the last symbol of the string) and go to the next step. 3. If the last symbol is not b then reject. Otherwise, erase this b and go to the left and go to the next step. 4. Move the head on the tape left until the blank symbol is found. After it is found move the head to the right (to the first symbol of the string) and go back to step 1." (d) What language is decided by the TM from (c)? (a) Give the sequence of configurations that the following TM M enters when given as input strings 1# #1 and 0#0. Please use the same representation for your configurations as we did in lecture 10. The reject state and transitions to the reject state are not shown. Whenever the TM encounters a character for which there is no explicit transition that means that the TM goes to the reject state. We say that the head moves right in each of these transitions to the reject state. start x → R 91 0→x, R 0,1→ RC 92 #→R →R 94 0,1→ 0,1→L 97 #→→R 1→x, R x→R 98 0,1 → R 93 0→x, L #→L qaccept 1 R x→R 95 1 → x, L # → R 960, 1, x→ L (b) Give an implementation level description of a TM, possibly nondeterministic and/or with multiple tapes, that recognizes the following language over the alphabet {0,1}: {s#a1#az#... #an| where n is a positive integer, s, a₁,..., an are binary integers such that some subset of a₁,..., an sums to s}. (c) Give a state diagram of the TM whose implementation level description is below. "On input w 1. If the first symbol is blank then accept. If it is b then reject. If it is a then erase this a and go to the right and go to the next step. 2. Move the head on the tape right until the blank symbol is found. After it is found move the head to the left (to the last symbol of the string) and go to the next step. 3. If the last symbol is not b then reject. Otherwise, erase this b and go to the left and go to the next step. 4. Move the head on the tape left until the blank symbol is found. After it is found move the head to the right (to the first symbol of the string) and go back to step 1." (d) What language is decided by the TM from (c)?
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Give the sequence of the following tetra peptide (yellow =S):
-
Give the sequence of the following tetrapeptide:
-
In the engine system shown l = 10 in. and b = 4 in. The connecting rod BD is assumed to be a 3-lb uniform slender rod and is attached to the 4.5-lb piston P. During a test of the system, crank AB is...
-
As a security architect for a medium-sized firm, briefly describe how would you approach the following case problems: 1. Sending encrypted email to third parties. 2. Encrypting sensitive data inside...
-
Change the following from spherical to Cartesian coordinates. a. (8, /4, /6) b. (4, /3, 3/4)
-
One of the overall objectives of work design is A. Decreased cost of goods produced B. Decreased cost of operations C. Increased employee satisfaction D. Increased level of output
-
Suppose \(\mathbf{x} \sim M N(n, \boldsymbol{\pi})\) follows a multinomial distribution of size \(n\) and probability \(\pi\). Derive the variance matrix of \(\mathbf{x}\).
-
Colgate-Palmolive operates two product segments. Using the company Web site, locate segment information for the companys latest published annual report. (Hint: Go to the company Web site and look...
-
What is immediate, up-to-date information? What is Real-time systems Information governance?
-
Chumpy Lighting Limited manufactures a wide variety of light bulbs which it sells to lighting shops and builders merchants through wholesale distributors. It also sells direct to the big UK...
-
I need Operating System (OS) File Management diagram for each of the following Operating Systems: Network Operating System Standalone Operating System Mobile Device Operating System I need a ten to...
-
WRITE IN THREE (3) FULL AND COMPLETE PARAGRAPHS, WITH EACH PARAGRAPH CONTAINING AT LEAST THREE (3) FULL AND COMPLETE SENTENCES, YOUR ORIGINAL RESPONSES TO THE FOLLOWING QUESTIONS: 1. Do you think the...
-
10 points English Petroleum (EP) has to decide whether or not to drill for oil in a particular place. After its recent disaster in gulf, it has decided to conduct a thorough analysis before venturing...
-
In its previous annual report, Diamond Company had net income of $1,400 million, and non-cash charges of $300 million. There were 110 million shares outstanding. Diamond's share price was $40 per...
-
Evaluating Actual Professional Speakers: Locate a web or podcast of your most admired CEO or company spokesperson on the company website or on the Wall Street Journal Online or BusinessWeek Online as...
-
Could you expound upon the nuanced trade-offs inherent in designing memory management systems for modern operating systems, balancing considerations of efficiency, security, and scalability?
-
Simon LLC produces smartphones, computers, and televisions. Although all high - level decisions are made at company headquarters by top management, rapid expansion and increasingly specialized...
-
What are technical skills At what level are they most important and why?
-
Testosterone is one of the most important male steroid hormones. When testosterone is dehydrated by treatment with acid, rearrangement occurs to yield the product shown. Propose a mechanism to...
-
Why do you suppose an axial cyano (CN) substituent causes practically no 1, 3-diaxial steric strain (0.4 kJ/mol)? Use molecular models to help with your answer.
-
Predict the product(s) of the followingreactions: (b) 1. Nat "OEt Co (a) 2. CH3I eat (c) Br2, PBr3 H20 CH-CH2C (d) " NaOH, H20 12
-
Explain physically the Coulomb occupation number Hamiltonian (56.52) in terms of Feynman diagrams. Data From Equation 56.52:- - 1272 - + 2m koko + * + at (56.52)
-
Consider five bosons with a one-body potential that can be approximated as harmonic oscillator. Write the wave function expansion in terms of harmonic oscillator states with \(n \leq 3\).
-
Consider a system with seven one-particle states, and three bosons in the system. How many states are there in the Fock space? How many multiparticle states are possible?
Study smarter with the SolutionInn App