Refer to the following TM. We assume that the input string is put on the T APE
Question:
Refer to the following TM. We assume that the input string is put on the TAPE with the symbol # inserted in front of it in cell i. For example, the input ha will be run with the TAPE initially in the form #ba∇ . . . . In this chapter, we saw how to do this using TM states. Here, consider it already done. The TM is then
Trace the execution chains of the following i nput strings on this machine:
(i) aa
(ii) aaa
(iii) aaaa
(iv) aabaab
(v) abab
Transcribed Image Text:
START (#,#,R) (A,A,R) (B.B.R) (a.a,L) (b,b,L) (Y,*.L) 11 (*.*.L) (B.B.L) (A.A.L) (a.A.R) (b.B.R) (b.b.L) (a.a.L) (A,A,L) (B.B.L) (*.*.R) (A.A.R) (B.B.R) (B,#,R) (#,#,R) 7 (*.*,R) 8 (A,A,R) 13 (#,#,R) (a,a, R) (b,b,R) HALT (b,Y,L) (a,X,L) (A,A,L) (B.B.L) (A,#,R) (#,#,R) (..R) 4 (A,A,L) (X,X,L) (Y.Y.L) (a.a.R)| (b,b,R) (B,B,R) (*.*.R) (A,A,R) 10 (X,*.L) 12 (B,B,L) (*.*.L) (A.A.L)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 55% (9 reviews)
i aa Initial tape configuration aa Reads a in the first cell and moves right aa Reads a in the secon...View the full answer
Answered By
James Warinda
Hi! I’m James Otieno and I'm an experienced professional online tutor with countless hours of success in tutoring many subjects in different disciplines. Specifically, I have handled general management and general business as a tutor in Chegg, Help in Homework and Trans tutor accounts.
I believe that my experience has made me the perfect tutor for students of all ages, so I'm confident I can help you too with finding the solution to your problems. In addition, my approach is compatible with most educational methods and philosophies which means it will be easy for you to find a way in which we can work on things together. In addition, my long experience in the educational field has allowed me to develop a unique approach that is both productive and enjoyable.
I have tutored in course hero for quite some time and was among the top tutors awarded having high helpful rates and reviews. In addition, I have also been lucky enough to be nominated a finalist for the 2nd annual course hero award and the best tutor of the month in may 2022.
I will make sure that any student of yours will have an amazing time at learning with me, because I really care about helping people achieve their goals so if you don't have any worries or concerns whatsoever you should place your trust on me and let me help you get every single thing that you're looking for and more.
In my experience, I have observed that students tend to reach their potential in academics very easily when they are tutored by someone who is extremely dedicated to their academic career not just as a businessman but as a human being in general.
I have successfully tutored many students from different grades and from all sorts of backgrounds, so I'm confident I can help anyone find the solution to their problems and achieve
0.00
0 Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
The problems in this problem set refer to the following game matrices. In each case, Jack chooses left or right and Jill chooses up or down. The outcomes show how many buckets of water are rewarded....
-
Refer to the following supply and demand curve diagram. a. Starting from an initial equilibrium at E, what shift or shifts in supply and/or demand could move the equilibrium price and quantity to...
-
Refer to the following table: Required: Treating each row of the table independently, compute the missing information. What inferences can you draw by comparing your answers across rows (note that...
-
Project P costs $15,000 and is expected to produce benefits (cash flows) of $4,500 per year for five years. Project Q costs $37,500 and is expected to produce cash flows of $11,100 per year for five...
-
Which pairs of the following goods would you classify as complementary, substitute, or independent goods: beef, ketchup, lamb, cigarettes, gum, pork, radio, television, air travel, bus travel, taxis,...
-
In some hotels, the position of revenue manager reports to the DOSM, whereas in others it reports to the FOM. Why do you think this is so? As a GM, how would these two alternative arrangements affect...
-
Use the same facts as problem 20 and prepare entries using the following independent assumptions: a. Lease A is abandoned in 2022. b. Lease A is proved in 2022. c. Insignificant Lease Y, with a cost...
-
In Part III of this case study, you obtained an understanding of internal control and made an initial assessment of control risk for each transaction-related audit objective for acquisition and cash...
-
A manager could increase his or her accounting income-based bonus by Multiple choice question. delaying discretionary expenses. delaying shipments of its products. disclosing additional contingent...
-
Using the data in BE2-5 for Levine Legal Services, journalize the transactions. Assume all of the transactions occurred on August 31. Data from BE2-5 1. Cash is paid for the purchase of $445 of offi...
-
Using the second pushdown transducer, convert the following arithmetic expressions to postfix notation and then evaluate them on the first pushdown transducer: (i) 2 * (7 + 2) (ii) 3 * 4 + 7 (iii) (3...
-
Using bottom-up parsing, find any derivation in the grammar PLUS-TIMES for the following expressions: (i) i * (i) (ii) ((i) + ((i))) (iii) (i * i + i) (iv) i * (i + i) (v) (i * i) * i
-
A government bond that matures in 10 years has a yield of 6%. A 10-year corporate bond has a yield of 9%. Assume that the liquidity premium on the corporate bond is 0.5%. What is the default risk...
-
What does the term ROI mean?
-
Mr. Ashok does not keep his books properly. Following information is available from his books. During the year Mr. Ashok sold his private car for Rs. 50,000 and invested this amount into the...
-
What are some types of current assets that might be pledged as security for short-term loans?
-
What is the difference between an underwritten and a best efforts issue?
-
Explain the situations in which each of the risk typesstand-alone, corporate, and marketare relevant.
-
Water at 150 kPa and 12oC is heated in a mixing chamber at a rate of 3 kg/s where it is mixed with steam entering at 150 kPa 120oC. The mixture leaves the chamber at 150 kPa and 55oC. Heat is lost to...
-
Shreemaya Hotel in !adore was facing a problem of low demand for its rooms due to off season. The Managing Director (MD) of the hotel, Mrs. Sakina was very worried. She called upon the Marketing...
-
The minimum number of columns in a datagram network is two; the minimum number of columns in a virtual-circuit network is four. Can you explain the reason? Is the difference related to the type of...
-
What is the role of the address field in a packet traveling through a virtualcircuit network?
-
What is the role of the address field in a packet traveling through a datagram network?
-
4. (35 points) Consider the following pseudocode which uses dynamic scoping. What does the program print if the language uses shallow binding? What does it print with deep binding? x:integer //...
-
2. Ws Gs = = n Yw Vs'Yw' Use the following phase relationships to answer the next two questions: W Ws y=/; d= Ysat = Ya ws 1 = V e = V Ws+Ww. Ww. Vw V Yw = Vw ST Ww. W = Ws Relationship required...
-
2) The following shell script is used to count the number of positives integer, negative integer entered in command line. 1 /bin/sh 2 3 count Pos=0 4 countNeg=0 5 6 for num in $# 7 do 8 9 10 11 if...
Study smarter with the SolutionInn App