Computability Flashcards

1
Q

Definition of computability

A
function if is computable if some program P computes it 
for any input x, the computation p x halts with output f x
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

intensional equalilty

A

same result but different algorithmic complexity

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

What does it mean for a function to be computable

A

Turing - iff can be computed on a turing machine
Godel: iff it is general recursive
Church: iff can be written as lambda notation

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

Algorithm vs computable function

A

Algo - finite set of instructions which given input enables to obtain output through systematic execution o the instructions and terminates after a finite number of steps

comp - algo is used to calculate the value of a numerical function then the function is calculable
- seeks to answer a specific problem under a specfic model of computation

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

What is the output of computation

A

successful result
some eror
does not terminate

cannot be solved at all - computability issue
cannot be solved efficiently - complexity issue

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

Formalization of an algorithm should be:

A

Precise (unambiguous)
simple
general

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

waht is the church turing hypothesis

A

prgramming language doesnt matter, all reasonal languages define the same classes of computable functions
Problem can be solved iff can be solved by a turing machine

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

Turing complete

A

if can be implemented on a turing machine then it is turing complete
- i.e. all computable functions and thus programming languages

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

Turing complete problem

A

any problem solved on a turing machine using finite time and resources can be solved with any programming language using finite resources

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

Similar models of computation

A

register machines
lambda notation
pseudo code
turing machines

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

What is the halting problem

A

given an arbitrary TM and its input tape will the machine eventually halt?
provably uncomputable, therefore cannot be solved in practice

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

Desision problem

A

Problem set with YES/NO answers is called undecidable if there is no algorithm that terminates witht he corret answer or every problem in the set

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

decidable problems

A

there is an algorithm that solves it

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

undeciable

A

there no is algo to solve it, might be procedure but it doesnt always terminate

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