Create a Turing Machine in JFLAP (over the alphabet {a,b,#}) that takes a string with one # in it and swaps the strings on either side of the #. If the string is a legal start string then the machine halts pointing at the # when it's done. If it's not a legal start string then the machine should not accept the string (i.e. don't go to the halt state) but otherwise it can do whatever you like...

Solved
Show answers

Ask an AI advisor a question