SICP 2 Flashcards

1
Q

In chapter 2 what do we do

A

look at more complex data, look at the means it provides for building abstractions by combining data objects to form compound data

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

How can a rational number be represented as a compound data object

A

by glueing together the numerator and denominator

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

What is the notion of closure

A

the glue we use for combining daya objects should allow us to combine not only primitive data objects but compound data objects as well

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

What is data abstraction?

A

The general technqiue of isolating the parts of a program that dewal with how the data is represented from how the data is used

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

What is the interface between data represnetatino and use?

A

Selectors and constructors

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