Question: I need to create a JFlap Program that simulates a Touring Machine AYF18 has two simple instructions: I (for increment) and D (for decrement) and
I need to create a JFlap Program that simulates a Touring Machine


AYF18 has two simple instructions: I (for increment) and D (for decrement) and works only with unary numbers. Your TM is going to read the sequence of instructions followed by a unary number as the input and calculate whatever requested and show the output. Examples of inputs and required outputs Input Output Comment 3 decrements, one increment on 4 One decrement, 2 increments on 3 One increment, one decrement, one increment of 2 IDI11
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
