Questions tagged [turing-machines]

A Turing machine is an idealized model of computation consisting of a finite-state control, an infinite tape holding information, and a read head positioned somewhere over the tape. Turing machines are used in computability theory to reason about the limits of computation, to provide a formal definition for an algorithm, and to provide formal models for nondeterminism.

Wiki

A Turing machine is a device that manipulates symbols on a strip of tape according to a table of rules. Despite its simplicity, a Turing machine can be adapted to simulate the logic of any computer algorithm, and is particularly useful in explaining the functions of a CPU inside a computer.

Turing machines are not physical objects but mathematical ones. A Turing machine is a kind of state machine. At any time the machine is in any one of a finite number of states. Instructions for a Turing machine consist in specified conditions under which the machine will transition between one state and another.

The tape is used to store data. In addition, it can also store a series of transitions (a small programs) and thus, the head can run sub-programs. By analogy with modern computers, the tape is the memory and the head is the microprocessor.

Tag usage

The tag can be used for programming related problems in implementing features of a turing machine. The tag can also be used for algorithmic problems related to turing machine. Try to avoid theoretical and research based questions on Stack Overflow.

Please note https://cstheory.stackexchange.com is another stack exchange website which you can use to ask theoretical and conceptual problems with tag

Source

487 questions
-2
votes
1 answer

Universal turing machine U should determine if M(x) stops

so we have a universal turing machine U, that should determine if a turing machine M with input x will stop. The solution should be presented in pseudo code. can someone help me a bit out, who should i solve it ?
RevoN
  • 11
  • 4
-3
votes
1 answer

Nondeterministic Algorithms

I need a simple description of nondeterministic algorithms . Can we comapre nondeterministic algorithm with computer with parrallel processor? please someone exactly explain me about nondeterministic algorithms
-3
votes
2 answers

From a circuit to a Turing machine

I have read my book everything that says about turing machines and how they work but i havent got a single clue of how to make this essay.Even though i managed to get all exersices right about Turing machines this just makes me hit my head up in the…
Andreakos
  • 29
  • 7
-4
votes
2 answers

C Turing Machine infinite loop

I'm trying to code a Turing machine in C. But my program doesn't work, it gets stuck in an endless loop. Here's my code with some explanations: #include #include #include #define N 3 //number of different states for…
gzzzzz
  • 9
  • 5
-5
votes
1 answer

Proof language Turing-decidable

Hello I should proof that: Let L_1, L_2, L_3 be Turing-recognizable language such that L_1 U L_2 U L_3 = {a, b}* and (L_i [intersection] L_j = [empty-set]) for any 1<=i
kabal
  • 29
  • 1
  • 5
-5
votes
2 answers

Turing Machine Simulator

I need to design a Turing Machine Simulator in C++ that takes in an input file that goes something like this: Q:q1,q2,q3,q4 A:0,1 Z:0,1,x T:q1,0,q2,x,R T:q1,1,q2,x,R T:q2,0,q2,0,R ... S:q1 F:q3,q4 Where Q is states, A is input values, Z is tape…
wDC
  • 11
  • 1
  • 1
  • 2
1 2 3
32
33