Computable functions Flashcards

1
Q

program output

A

computed as a function of program inputs and state of the machine before the program starts

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

effectively computable

A

computable with finite resources in a finite time

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

Undefined operation

A

e. g. division by zero

- may halt with error condition

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

non termination -

A

never delivers a result
- this is a partial function : not defined on all arguments
cannot be detected at compile time

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

functions as graphs

A

f: x -> y

f is a set of pair X x Y

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

extensional equality

A

two functions are equal if given the same input they yield the same output (even if they have different algorithms)

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

Total functions definition

A

the total function F:A->B os a subset B x A where for every x E A there is some y EB with E F
Also if E F and E F then y = z (single valued)

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

Partial function definition

A

the partial function F:A->B os a subset B x A where for every x E A there is some y EB with E F
Also if E F and E F then y = z (single valued)

this means that a partial function is single valued but need not be deifnied on all elements of its domain

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