Question: Problem 5 Construct a Turing machine that can determine if an input bit string has more 1 ' s than 0 ' s . If
Problem
Construct a Turing machine that can determine if an input bit string has more s than s
If the string contains more s than s output a and halt. If the string contains more s than s output an and halt. If the string contains an equal number of s and s output an and halt.
You can let represent the blank symbol.
You can assume that the Turing machine starts at the beginning of the string. The machine can halt anywhere along the tape.
You can assume that the string is always at least one bit in length no empty strings
Your answer should define the state transition table for the Turing machine. That is where is the current state, is the next state, is the input scanned symbol, is the output symbol written on tape, and indicates a direction of either indicating moving left, indicating moving right, or indicating halting
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
