Question: A program must be implemented that shows the computation of a machine of Turing M = ( K , , , s , H )

A program must be implemented that shows the computation of a machine
of Turing M=(K,,,s,H) for a given input w. The program should receive as much
M and w as input parameters, start computation in configuration
(s,w) and print the stop configuration (both the state and the content of the
tape), if M reaches a stop configuration. If, after an amount
previously established X of transitions, the machine does not reach a
stopped, the user must be asked to confirm whether they wish to continue processing
applying the transition function up to X times. There must be an option that allows
visualization of all configurations present in the computation, from configuration
start to stop setting.|
Transactions must follow the pattern below, e.g.
transicao ={
('q0','a'): ('q1','S'),
('q0','b'): ('q1','S'),
('q0','_'): ('h','S'),
('q0','>'): ('q0','R'),
('q1','a'): ('q0','R'),
('q1','b'): ('q0','R'),
('q1','_'): ('q0','R'),
('q1','>'): ('q1','R'
)
}
 A program must be implemented that shows the computation of a

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!