Turing Machine theory Flashcards

1
Q

Name the components of a Turing Machine

A
  • A set of transition rules
  • A sensing read-write head that can read AND write from an INFINITELY LONG tape.
  • A start state
  • Set of accepting states
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why can a UTM be considered to be more powerful than any real computer?

A

A UTM has an infinite amount of memory / tape

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Universal Turing Machine? (UTM)

A

A Turing machine that can execute the behaviour of any other Turing machine.

Instructions for a Turing machine are stored on the UTM’s tape.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the Halting problem?

A

Non-computable, unsolvable problem of writing a program that can tell whether a given program will halt - without running the given program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an intractable problem?

A

A problem that can be solved, but has an exponential (or worse) time complexity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What approaches can a programmer take to “solve” an intractable problem?

A

Using an algorithm that estimates based on experience which provides a close-to-optimal solution.

They could use a heuristic method, e.g. trial and error.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are heuristics?

A

(Potential) non-optimal approaches that use experiences to make informed guesses to assist in finding a solution to an intractable problem.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the relationship between a Turing machine and an algorithm?

A

If, and only if, an algorithm exists to solve a problem, then a Turing machine can be designed to solve the problem.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly