4.12.1 Functional Programming Paradigm Flashcards

(6 cards)

1
Q

Define Co-domain.

A

A set from which the function’s output values re chosen.

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

Define Domain.

A

A set from which the function’s input values are chosen.

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

Define Functions.

A

A rule that for each element in some set A of inputs, assigns an output chosen from set B, but without necessarily using every member of B.

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

Define First-Class Objects.

A

First-class objects (or values) are objects which may appear in expressions, be assigned to a variable, be assigned as arguments or be returned in funciton calls.

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

Define Function Application.

A

The process of giving particular inputs to a function.

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

Define Partial Function Application.

A

A function application scheme where a fucniton is decomposed into intermediate partial functions. A partial function takes some of the arguments and returns a function awaiting the remaining arguments.

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