Chapter 11 Flashcards

1
Q

What is abstraction?

A

A view of an entity that includes only most significant attributes

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

How is process abstraction created?

A

By means of subprograms

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

When did all languages start to support data abstraction?

A

Since 1980

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

What are the 2 abstract data type conditions that is being satisfied?

A

Representation of object are defined in a single syntactic unit.
Representation of objects of the type is hidden from the program units that use these objects

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

What is the Adv of representing objects in a single syntactic unit?

A

organization, modifiability, Each ADT can be compiled separately in own file.

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

What are language requirements for ADTs?

A

Syntactic unit. A method to make essential parts of an ADT visible to client

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

ADT example

A

struct

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

What are parameterized ADTs also known as?

A

Generic classes

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

What can ADTs store?

A

elements of any type

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