Haskell Thompson Flashcards

1
Q

What is the fundamental purpose of computing?

A

To process and manipulate symbolic information

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

What is a program?

A

A description of how information is manipulated.

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

What is a fruitful way to look at programming.

A

It is the task of modelling situations in a computer.

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

What does a difference in programming paradigm do?

A

Force us to think in different ways

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

What is a type?

A

A collection of values that are of the same sort.

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

What is a function?

A

An operation that takes one or more values and delivers a result

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

What is the relation between function and type

A

a function will work over a certain type

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

What is a functional program made up of

A

Different definitions of functions and other values

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

What does a Haskell definition associate?

A

A name with a value of a particular type.

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

What does a simple defintion look like?

A

name :: type
name=expression

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