Theory of Computation Flashcards

1
Q

What is a Turing Machine?

A

A Turing Machine can be viewed as a computer with a single fixed program

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

What is an algorithm?

A

An algorithm is a precise description of steps necessary to accomplish a certain set of tasks or solve a particular problem

or

a sequence of steps that can be followed to complete a task and that always terminates.

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

How do you know when a problem is computable?

A

If a Turing machine can exist for the computation, which halts on all inputs.

A task is computable if and only if it can be computed by a Turing machine.

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

can every algorithm be represented as a Turing Machine program

A

yes

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

State the Church-Turing thesis?

A

if an algorithm exits then there is an equivalent Turing machine for that algorithm.

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

What is the Halting problem?

A

An unsolvable problem of determining if a program will eventually stop given an input.

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

How is a universal Turing machines input displayed as

A

description number (the binary description of transition functions for a Turing machine) # input data #

hash separated

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

How is the description number for a universal Turing machine derived

A

the transition functions are abbreviated, then given values for states, shifts, all symbols.

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

what makes a problem intractable

A

no reasonable time solution (polynomial). considered unsolvable

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