Question: Create a Turing Machine that reads a string representing a binary number and erases all leading 0's. However, if the string only contains 0's, it

 Create a Turing Machine that reads a string representing a binary

Create a Turing Machine that reads a string representing a binary number and erases all leading 0's. However, if the string only contains 0's, it keeps one 0 (Ex: Input: 0000 Output: 0; Input: 00101 Output 101). You may describe it formally or informally, but 1 will give you 1 bonus points for doing it formal

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 Databases Questions!