Question: Section 9 . 1 and 1 0 . 5 ( PRACTICE QUESTION ) HINTS Assume there are markers ( i . e . blanks )

Section 9.1 and 10.5
(PRACTICE QUESTION)
HINTS
Assume there are markers (i.e. blanks) on both the LHS and RHS of the input string:
Find the midpoint by changing each symbol (example use A for a's and B for b's)
a. go back and forth from the beginning to the end until you reach the middle
I. If the string has an odd number of symbols, it will not be in the language and the machine should stop
Even number of symbols - change the first half back to the original symbols Start from the beginning and compare the first symbol (mark it again) to the first symbol after the midpoint (mark it with a special symbol or blank) to see if the 2 halves match
Design a Turing machine that accepts the language
r1={ww:w Epsilon{a,b}+}.
(GRADED 2 points) Explain why a Linear Bounded automata could be constructed for the language above.
Section 9 . 1 and 1 0 . 5 ( PRACTICE QUESTION )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!