Chapter 11 Flashcards
What is abstraction?
A view of an entity that includes only most significant attributes
How is process abstraction created?
By means of subprograms
When did all languages start to support data abstraction?
Since 1980
What are the 2 abstract data type conditions that is being satisfied?
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
What is the Adv of representing objects in a single syntactic unit?
organization, modifiability, Each ADT can be compiled separately in own file.
What are language requirements for ADTs?
Syntactic unit. A method to make essential parts of an ADT visible to client
ADT example
struct
What are parameterized ADTs also known as?
Generic classes
What can ADTs store?
elements of any type