Question

3. Construct a TG for the language of all strings where characters in odd numbered positions (i.e., the 1st, 3rd, 5th, etc. characters) must be the letter a. NOTE: The empty string DOES satisfy this requirement. (2 points) 4. TSTTg reemurelttese 7, convert your TG from problem 3 into a regular expression (show the steps that you take). (4 points)

Theory of computation.

Please show all work.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

3)

x can be any input

Now all strings having odd character as 'a' will only satisfy this turing machine and empty string also satisfied since first state acceptable final state.

4)

Regular expression will be a*x* | {x can be any character except 'a'}

since above turing machine is accepting empty string, so regular expression will be a*x* , a* means it accepts empty or more than one instance of 'a'

Add a comment
Know the answer?
Add Answer to:
Theory of computation. Please show all work. Construct a TG for the language of all strings...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT